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

Heroku

Build apps, not infrastructure.

Dealing with servers, hardware, and infrastructure can take up your valuable time. Discover the benefits of Heroku, the PaaS of choice for developers since 2007.

Visit Site

Top comments (0)

Billboard image

Create up to 10 Postgres Databases on Neon's free plan.

If you're starting a new project, Neon has got your databases covered. No credit cards. No trials. No getting in your way.

Try Neon for Free β†’

πŸ‘‹ Kindness is contagious

Please leave a ❀️ or a friendly comment on this post if you found it helpful!

Okay