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

Top comments (0)