> 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/health-and-fitness-api/integration-setup.md).

# Integration setup

This section guides you through the essential configurations required to connect Terra to your application, define data sources, specify data destinations, and manage your integration settings.

Proper setup is crucial for receiving user data effectively. Navigate through the guides below to configure each aspect of your Terra integration.

***

## Implementation guides

{% stepper %}
{% step %}
[**Understanding sources and destinations**](/health-and-fitness-api/integration-setup/understanding-sources-and-destinations.md)

Understand the fundamental concepts of how Terra ingests data from providers and delivers it to your system.
{% endstep %}

{% step %}
[**Setting up data sources**](/health-and-fitness-api/integration-setup/setting-up-data-sources.md)

Learn how to select and activate the health platforms (e.g., Garmin, Fitbit) your users can connect
{% endstep %}

{% step %}
[**Setting up data destinations**](/health-and-fitness-api/integration-setup/setting-up-data-destinations.md)

Detailed instructions for setting up where Terra will send processed user data (Webhooks, databases, cloud storage, etc.).
{% endstep %}
{% endstepper %}

***

## Configuration

[**Customising data types**](/health-and-fitness-api/integration-setup/customising-data-types.md)

* Customise the specific health and fitness metrics and permission scopes for your integration.

[**Dedicated data source API keys**](/health-and-fitness-api/integration-setup/dedicated-data-source-api-keys.md)

* Instructions for configuring dedicated API keys for specific data providers.

[**Understanding Terra environments**](/health-and-fitness-api/integration-setup/understanding-terra-environments.md)

* Learn about Terra's testing, staging, and production environments and their respective limits.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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.tryterra.co/health-and-fitness-api/integration-setup.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.
