# Application settings

This section offers information for Odoo users on how to configure their Confluence as an application in Odoo.

## Applications menu <a href="#applicationsettings-applicationsmenu" id="applicationsettings-applicationsmenu"></a>

Click on the window icon and navigate to **Settings→ Oregional → Applications.**

![](https://metainf.atlassian.net/wiki/download/thumbnails/313131194/image2018-11-15_11-56-27.png?version=1\&modificationDate=1542279394862\&cacheVersion=1\&api=v2\&width=920\&height=216)

## Application list <a href="#applicationsettings-applicationlist" id="applicationsettings-applicationlist"></a>

The list of active applications is displayed by default.&#x20;

{% hint style="warning" %}
Inactive applications can be opened using search filter and search for field **Active** with value **is false.**
{% endhint %}

![](https://592562319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDRDuISatrSJXjVVJWeuq%2Fuploads%2Fei6OQVcUkyF5NrmegabN%2Fimage.png?alt=media\&token=06408b2a-cd0d-47c7-b883-8daa479067cb)

## Application configuration <a href="#applicationsettings-applicationconfiguration" id="applicationsettings-applicationconfiguration"></a>

{% hint style="info" %}
Only users with Oregional Odoo App administrator permission can make settings for applications.
{% endhint %}

### General settings <a href="#applicationsettings-generalsettings" id="applicationsettings-generalsettings"></a>

General application configuration

Add a new application by clicking **Add** and fill out the fields as shown below:

![](https://metainf.atlassian.net/wiki/download/thumbnails/313131194/image%20\(2\).png?version=1\&modificationDate=1543244661385\&cacheVersion=1\&api=v2\&width=900\&height=497)

<br>

| Name          | Description                                                                                                             | Notes                                                                                                                                                                                                                  |
| ------------- | ----------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Logo          | The logo of the application                                                                                             | <p><br></p>                                                                                                                                                                                                            |
| Name          | The name of the application                                                                                             | The name of the Confluence instance as recognized by the users                                                                                                                                                         |
| Client ID     | <p>The client id of the Confluence application</p><p>Must be used when setting up the connection in Confluence.</p>     | <p>Unique identifier of the Confluence application in this Odoo instance.</p><p>The Confluence application will use this when identifying itself to the Odoo instance.</p>                                             |
| Client Secret | <p>The client secret of the Confluence application</p><p>Must be used when setting up the connection in Confluence.</p> | <p>Unique secret of the Confluence application in this Odoo instance.</p><p>The Confluence application will use this when identifying itself to the Odoo instance.</p>                                                 |
| Own ID        | The id of the Odoo instance                                                                                             | Not used currently for Confluence connections                                                                                                                                                                          |
| Own Secret    | The secret of the Odoo instance                                                                                         | Not used currently for Confluence connections                                                                                                                                                                          |
| Model Scheme  | The linked model scheme                                                                                                 | For more information on model schemes, see [Model scheme settings.](https://docs.meta-inf.hu/odoo-confluence-connector/user-guide/confluence-connector-for-odoo/confluence-connector-for-admins/model-scheme-settings) |
| Description   | Additional information about the application                                                                            | <p><br></p>                                                                                                                                                                                                            |

### URIs tab <a href="#applicationsettings-uristab" id="applicationsettings-uristab"></a>

List of valid, available callback URIs for the application defining the callback endpoints of the remote application

{% hint style="info" %}
**Confluence callback uri**: <https://exampleconfluence.com/plugins/odoo-connector/callback.action>
{% endhint %}

{% hint style="danger" %}
An application **must have** at least one URI in order to make the communication work between **Odoo** and the remote **Confluence**
{% endhint %}

![](https://592562319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDRDuISatrSJXjVVJWeuq%2Fuploads%2Fn1SRDuNkfIZIxhG2LiYl%2Fimage.png?alt=media\&token=ab711b1d-3e6c-4a2d-910f-7b52cd8ebbb0)

| Name                   | Description                                         | Notes                                                                                                                                                                                                                    |
| ---------------------- | --------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| URI                    | The full path of the URI                            | <p>The uri is verified as a string when an endpoint is called from Confluence.</p><p>Use https in the URI to enforce secure connection</p>                                                                               |
| Authorize individually | The URI must be authorized individually by the user | <p>Some applications may provide multiple callback URIs, in such cases it can be useful to have separate authorizations.</p><p>For Confluence applications only one URI is needed, so no need to check the checkbox.</p> |
| Description            | Additional information                              | Optional details about the URI                                                                                                                                                                                           |

### Settings tab <a href="#applicationsettings-settingstab" id="applicationsettings-settingstab"></a>

Perform various settings for the applications

![](https://metainf.atlassian.net/wiki/download/thumbnails/313131194/applications_3.png?version=2\&modificationDate=1543244166200\&cacheVersion=1\&api=v2\&width=900\&height=468)

| Name                      | Description                                                                                                     | Notes                                                                                |
| ------------------------- | --------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------ |
| **OAuth 2.0**             |                                                                                                                 |                                                                                      |
| Authorization Code Expiry | <p>When should the authorization code expire (expressed in seconds)</p><p>Default: 600</p>                      | There are various practices, pick what suits you needs                               |
| Authorization Code Retain | <p>How long should the system keep track of issued authorization codes (expressed in days)</p><p>Default: 0</p> | For audit purposes you might need to keep a record of issued authorization codes     |
| Access Token Expiry       | <p>When should the access token expire (expressed in seconds)</p><p>Default: 3600</p>                           | RFC sample defines 3600s, which is the default, but you can set what you want        |
| Refresh Token Expiry      | <p>When should the refresh token expire (expressed in seconds)</p><p>Default: 0 (never expires)</p>             | Some like it never to expire, some like it expire after some time, set what you need |

### Audit tab <a href="#applicationsettings-audittab" id="applicationsettings-audittab"></a>

On the **audit tab** admins can find information about:

* creation timestamp
* user who created the record
* last modification timestamp
* user who last modified the record
