Odoo websites connect through Odoo's external API with a username and an API key. Posts are created in one Odoo blog that you choose while connecting. This guide covers the Odoo preparation, the form and what to expect when posts are published.
Before you start
You are an Owner or Admin of the company in Accounts, or of its agency.
The Odoo instance runs the Website app with at least one blog.
You have administrator access in Odoo to create a user and an API key.
Odoo's external API is reachable at
https://your-instance/xmlrpc/2.
Step 1: Create a user for publishing
Create a dedicated Odoo user for the platform and give it access to Website blog posts. Keep its other rights to a minimum.
Step 2: Generate an API key
Sign in to Odoo as that user.
Open the user's preferences and go to the account security settings.
Create a new API key, give it a name such as "UP-TO-DATE" and copy it. Odoo shows it only once.
Step 3: Find the database name
You need the name of the Odoo database. On Odoo Online it is often the first part of the address, such as yourcompany in yourcompany.odoo.com. For other hosting, ask whoever runs the Odoo server.
Step 4: Open Connect a Site
In Accounts, go to Companies > open the company > Websites tab.
Click Connect a Site. If the company already has sites, click Connect New Site.
Under Select your CMS, choose Odoo.
Step 5: Fill in the fields
Field | What to enter |
|---|---|
Odoo Instance URL | The address of the Odoo instance, for example |
Database Name | The database name from step 3. |
Username/Email | The login of the user from step 1. |
API Key | The key from step 2. |
Blog Selection | See step 6. |
Website ID (Optional) | Only for Odoo instances with several websites. Leave it empty otherwise. |
Step 6: Choose the blog
When the URL, database, username and API key are filled in, a Fetch Blogs button appears under Blog Selection.
Click Fetch Blogs. You see "Successfully fetched" with the number of blogs found.
Choose the blog posts should go into from the list.
Step 7: Test the connection
Click Test Connection.
The test signs in with the API key and checks that the user can read blog posts.
When it passes, you see "Test connection successful! Credentials are valid and have blog access."
Step 8: Connect
Make sure a blog is selected. Without one, nothing is saved.
Click Connect. The window closes and the site appears in the company's Websites list, named after the blog.
How posts arrive in Odoo
Each post is created as a new post in the selected blog, with the title, the content and a subtitle (the post's snippet or meta description, or the start of the text).
Changes to a post that already exists in Odoo are not sent again. Make later edits in Odoo.
The website is listed with the Odoo instance address and the blog. For the AI Memory crawl, make sure the company's website URL in Accounts is the public website address.
Common errors
Message | What to check |
|---|---|
"Authentication failed. Please check your credentials." | The URL, database name, username or API key is wrong. |
"Authentication successful but user does not have access to blog posts..." | Give the user access to Website blog posts. |
"Failed to connect to Odoo" | The instance couldn't be reached, or the external API is blocked. |
"URL, Database, Username, and API Key are required to fetch blogs" | Fill in all four fields first. |
"No blogs found in your Odoo instance" | Create a blog in the Website app, or check the user's access. |