# Account setup and API keys

{% stepper %}
{% step %}

#### Create your Terra API account

* **Sign Up:** Create an account at the Terra API [Registration Page](https://dashboard.tryterra.co/user/signup).
* **Onboarding:** Follow the Terra the onboarding flow and fill in the required information (email, password, company details, etc.) when prompted.
  {% endstep %}

{% step %}

#### Select plan

* **Setup:** During onboarding you'll be prompted to select your plan and enter billing details. Select the plan that best fits your requirements.
* **Manage plan:** Once signed up, you can manage view your current plan and billing details within the *Terra Dashboard* under *Settings.* Ensure your account and subscription are active to maintain uninterrupted API access.
  {% endstep %}

{% step %}

#### Obtain API keys

* **Get keys from dashboard:** Once your account is setup, go to the [Terra Dashboard](https://dashboard.tryterra.co/dashboard/) and click on *API Keys* in the Navbar. Here you can copy your *Developer ID* and *API Keys*.
* **Credentials per environment:** Terra maintains separate credentials for *testing*, *staging*, and *production* environments. There is a [user cap](/health-and-fitness-api/integration-setup/understanding-terra-environments.md) on *testing* and *staging*.

<figure><img src="/files/CWg03J4HMwVacOdZ0sKb" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

#### Start using Terra API!

* **Follow API Docs**: You're now all set to use Terra API. We recommend that you start with the [**Health & Fitness API.**](/health-and-fitness-api/getting-started.md)
* **Keep secret:** Never share your x-api-key publicly or embed it directly in client-side code (e.g., mobile apps, frontend JavaScript).
* **Backend Use:** API keys requiring this level of access (like your main x-api-key) should typically be used only from your secure backend server.
  {% endstep %}
  {% endstepper %}


---

# Agent Instructions: 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/introduction/account-setup-and-api-keys.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.
