# Dynamic Integration

In the settings of <<glossary:Agent Inbox>> it is possible to configure the endpoints with headers and also get the authentication (API key and API secret) for the POST requests. Go to the Settings > Integrations > Dynamic API and hit the "Add"-button. Now you can configure the integration according to your wishes.

## Authentication

The authentication of the dynamic API is done by a pre shared key which must be communicated to <<glossary:Agent Inbox>>.

You can define an API key and secret in the <<glossary:Agent Inbox>> configuration.

When issuing requests to the dynamic API endpoint you have to include a Basic authentication header. The value you have to sent is a base64-encoding of `{apiKey}:{apiSecret}`.

For example you have set up API key to `abc` and API secret to `def`. The value would be `base64(abc:def)`, which resolves to `YWJjOmRlZg==`. The full authorization header is: `Authorization: Basic YWJjOmRlZg==`

The Dynamic API has five endpoints and two POSTs, which are explained in separate chapters:

* [Customer Information](https://developers.cm.com/mobile-service-cloud/docs/customer-information)
* [Orders List](https://developers.cm.com/mobile-service-cloud/docs/orders-list)
* [Order Details](https://developers.cm.com/mobile-service-cloud/docs/order-details)
* [Search](https://developers.cm.com/mobile-service-cloud/docs/search)
* [Customer Lifetime](https://developers.cm.com/mobile-service-cloud/docs/customer-lifetime)
* [Customer POST](https://developers.cm.com/mobile-service-cloud/docs/customer-post)
* [Order POST](https://developers.cm.com/mobile-service-cloud/docs/order-post)