> For the complete documentation index, see [llms.txt](https://docs.tryterra.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tryterra.co/unified-api/dexcom.md).

# Dexcom

Dexcom requires every company to connect users through its own app on the [Dexcom developer portal](https://developer.dexcom.com/account/apps), with its redirect URL on a domain that belongs to you. Your Terra dashboard sets up that domain and shows the exact URL to use.

## Create the app

1. Create a Dexcom developer account and log in to the [Dexcom developer portal](https://developer.dexcom.com/account/apps).
2. Create an app with your company details. Leave the redirect URL until the dashboard gives you the value in the next section.

## Set it up in the dashboard

In your Terra dashboard, open **Connections**, choose **Dexcom** (or **Dexcom EU**) and follow the setup. It walks you through your custom domain and then shows the Redirect URL to paste into your app.

When you are ready, apply for a production upgrade. If Dexcom contacts you for more information, let us know and we can help.

{% hint style="info" %}

#### Discussing a production upgrade with Dexcom

When discussing the production upgrade with Dexcom, the relationship being set forward is entirely between your company and Dexcom, and Terra should not be mentioned in the process, as a third party building with the integration for you.
{% endhint %}

Then enter the app's client ID and client secret in the dashboard and save.
