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

API Trace View

How I Cut 22.3 Seconds Off an API Call with Sentry πŸ•’

Struggling with slow API calls? Dan Mindru walks through how he used Sentry's new Trace View feature to shave off 22.3 seconds from an API call.

Get a practical walkthrough of how to identify bottlenecks, split tasks into multiple parallel tasks, identify slow AI model calls, and more.

Read more β†’

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

πŸ‘‹ Kindness is contagious

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

Okay