Get Project API Token

To retrieve the API Anon Key from your project, follow the steps below:

  1. Create a New Project: Navigate to app.buildwiththeta.com and create a new project.

  2. Open the Project Editor: After your project has been created, enter the project editor.

  3. Click the Project Name: You'll find the project name in the top-left corner, next to the Theta logo. Click on it.

  4. View the API Key: Upon clicking the project name, a bottom sheet will appear displaying an 'API key' field. This is your API token.

This anonymous (anon) key is what you'll use to connect your client application to Theta, using our Flutter client library. Ensure you store this anon key securely, preferably in an environment (.env) file, to prevent unauthorized access.

Note that client applications can only connect to your project if it is set to 'public'. Make sure you have configured your project visibility accordingly.

Anon Key permissions

Capabilities:

  • Read-only access to projects' styles and UI components.
  • Ability to insert new conversion events for tracking basic user actions.
  • Perform SELECT operations to fetch components, styles, conversion events' definitions, and AB test IDs (if present).

Limitations:

  • No write permissions for UI components (insert, update, delete actions are not allowed).
  • Restricted from making changes to project structure, settings, or configurations.
  • Designed to ensure data integrity and security.