> For the complete documentation index, see [llms.txt](https://userflux.gitbook.io/userflux-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://userflux.gitbook.io/userflux-docs/apis/environments-and-api-key-types.md).

# Environments and API Key Types

UserFlux provides two distinct environments to ensure you can develop and test safely without affecting your live user data.

* **Production:** Your live environment where real user data is processed.
* **Test:** A sandbox environment for development, testing, and staging. Use this to try new things before publishing to production.

You can switch between these environments using the dropdown menu in the bottom-left corner of your dashboard.

<figure><img src="https://616167918-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLjwLbJC8g5ucoCRH06Pj%2Fuploads%2FrwE2rC3CD6Bd1BM3aKra%2FCleanShot%202025-10-08%20at%2014.31.02%402x.png?alt=media&amp;token=75f98923-69c0-426b-94cd-46e7198fb8cd" alt=""><figcaption></figcaption></figure>

<figure><img src="https://616167918-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLjwLbJC8g5ucoCRH06Pj%2Fuploads%2FTG3a6H6AN0ZhMOrWNEwD%2FCleanShot%202025-10-08%20at%2014.32.41%402x.png?alt=media&amp;token=30486a93-95a6-4f69-bbb7-7be9a77520fe" alt=""><figcaption></figcaption></figure>

#### API Key Categories

UserFlux provides three categories of APIs, each with its own set of keys for both the Test and Production environments.

* **Integration API:** The primary API used for most integrations. It allows you to update user properties and create new events. Use these API keys when integrating with the SDK and collecting data.&#x20;
* **Data API:** Used for querying your data warehouse to read metrics or embed analytics into your own applications.
* **Product API:** Used specifically for synchronising your product catalogue and schemas with UserFlux.

> Each API key has specific permissions (e.g., Read-Only, Write-Only, Read and Write) to ensure secure and controlled access.
