# Adding the Odoo Connect Macro

When an Odoo Connect macro is inserted, a link is embedded and an **Odoo links** info banner is inserted on the top of the page.

Users can click on the links and be transferred to the record screen of the Odoo server.

IMPORTANT

To add the Odoo macro to a page you need to [authenticate](https://metainf.atlassian.net/wiki/spaces/ODOO/pages/284426248/Authenticating+to+an+Odoo+Server) yourself.

***

#### Step-by-step guide <a href="#addingtheodooconnectmacro-step-by-stepguide" id="addingtheodooconnectmacro-step-by-stepguide"></a>

1. Insert the **Odoo Connect** macro by clicking the **Insert more content** button or pressing **Ctrl+Shift+A** and look for the **Odoo Connect** macro.\ <br>
2. Select the properties as below:

| Field       | Description                                                                            |
| ----------- | -------------------------------------------------------------------------------------- |
| Odoo server | Select one of the Odoo servers in your database.                                       |
| Odoo model  | Select the model in your Odoo system (e.g. Purchase Order, Invoice or Account).        |
| Odoo record | Search for and select the record you want to add to the page (e.g. an invoice number). |

![](https://metainf.atlassian.net/wiki/download/thumbnails/284426244/edit_odoo.PNG?version=4\&modificationDate=1543226703994\&cacheVersion=1\&api=v2\&width=500\&height=304)

Click **Save** to save the changes in the macro and display it on the page.

Refresh the preview pane by clicking on the icon next to **Preview** to see how the macro will be displayed.\ <br>

***

#### Odoo Links Info Banner   <a href="#addingtheodooconnectmacro-odoolinksinfobanner" id="addingtheodooconnectmacro-odoolinksinfobanner"></a>

\
Adding an **Odoo Connect** macro to your page will create an **Odoo links** info banner on the top.\
Click on **Odoo links** to check all Odoo servers and macros that the actual page contains.

![](https://metainf.atlassian.net/wiki/download/thumbnails/284426244/odoo_links.PNG?version=4\&modificationDate=1543241471833\&cacheVersion=1\&api=v2\&width=500\&height=276)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.meta-inf.hu/odoo-confluence-connector/user-guide/odoo-connector-for-confluence/odoo-connector-for-users/adding-the-odoo-connect-macro.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
