DEV Community

Paimonchan
Paimonchan

Posted on

How To Get Odoo Credential For API

😎 Previously, i have already cover How To Try Odoo Without Self Deploy. You can go to that page before continue to this article, because most of this content need at least one active Odoo database.

πŸ˜Άβ€πŸŒ«οΈ To Connect into Odoo via API, you need at least 4 value for the credential:

  • URL
  • User Id
  • API Key
  • Database Name

πŸ”Ž 1. URL
The URL can be copied directly from URL in your browser, for the example this one inside the red box.
Odoo URL

πŸ”Ž 2. User Id
To access user detail, you can follow this step:

- Open `Setting` menu
- Click `User & Company` menu
- Click `User` menu
- Click user you want to use as API Bot
- Copy the number in URL bar
Enter fullscreen mode Exit fullscreen mode

Odoo User Menu

πŸ”Ž 3. Api Key
To Generate API Key, you can follow this step:

  • πŸ”ŽπŸ”Ž Click button My Profile Odoo My Profile
  • πŸ”ŽπŸ”Ž Click button New API Key Odoo New API Key
  • πŸ”ŽπŸ”Ž Set name for the API purpose and click button Generate Key Odoo Generate Key
  • πŸ”ŽπŸ”Ž Copy your API Key Odoo API Key

πŸ”Ž 4. Database Name
To Get Database name, you can follow this step:

  • πŸ”ŽπŸ”Ž Click Button My Database Odoo My Database
  • πŸ”ŽπŸ”Ž Copy the name inside the red box Odoo Database Name

Image of Timescale

Timescale – the developer's data platform for modern apps, built on PostgreSQL

Timescale Cloud is PostgreSQL optimized for speed, scale, and performance. Over 3 million IoT, AI, crypto, and dev tool apps are powered by Timescale. Try it free today! No credit card required.

Try free

Top comments (0)

AWS Security LIVE!

Tune in for AWS Security LIVE!

Join AWS Security LIVE! for expert insights and actionable tips to protect your organization and keep security teams prepared.

Learn More

πŸ‘‹ Kindness is contagious

Dive into an ocean of knowledge with this thought-provoking post, revered deeply within the supportive DEV Community. Developers of all levels are welcome to join and enhance our collective intelligence.

Saying a simple "thank you" can brighten someone's day. Share your gratitude in the comments below!

On DEV, sharing ideas eases our path and fortifies our community connections. Found this helpful? Sending a quick thanks to the author can be profoundly valued.

Okay