# Setup Guide

This guide will help you set up Cordial as a destination in the RudderStack dashboard. It also lists the configuration settings required to correctly send data from the supported sources to Cordial.

## Connection compatibility

{{< destination-config >}}

## Setup

In your [RudderStack dashboard](https://app.rudderstack.com/), add a source. Then, from the list of destinations, select **Cordial**.

### Connection settings

| Setting | Description |
| :----| :-----|
| Destination name | Assign a name to uniquely identify the destination. |
| API Key | Enter your [Cordial API key](https://support.cordial.com/hc/en-us/articles/115005365087-API-keys) by going to **Settings** > **API Keys**.  |
| API Base URL | Specify the [API base URL](#faq) by going to in your Cordial dashboard. For example, `https://api.usw2.cordial.io`. |

### Advanced settings

Configure the below settings to receive your data correctly in Cordial.

| Setting | Description |
| :----| :-----|
| Consent management settings | Configure the consent management settings for the specified source by choosing the **Consent management provider** from the dropdown and entering the relevant consent category IDs. See [Consent Management in RudderStack]({{< ref "data-governance/consent-management/overview.md" >}}) for more information on this feature. |

## Next steps

- [Send events in cloud mode]({{< ref "destinations/streaming-destinations/cordial/cloud-mode.md" >}})

## FAQ

#### Where can I find the Cordial API base URL?

1. Log in to your Cordial dashboard.
2. Go to **Settings** > **Account** and navigate to the **API** section. 
3. You can obtain the API base URL from the URL listed here.  For example, if the URL is `https://api.usw2.cordial.io/docs/v2`, then the API base URL is `https://api.usw2.cordial.io`.

{{< image src="images/event-stream-destinations/cordial-api-base-url.webp" alt="Cordial API base URL" >}}

