# Configure ApiKeys

Our product requires several API Access Keys to function fully. Some of these keys require creating accounts on external platforms, and all steps are explained below.&#x20;

All API keys can be configured inside: `/configs/ApiKeys.lua`&#x20;

The required keys include:&#x20;

* **WebRTC API** - used for video calls and the nearby voices feature
* **FiveManage** - a CDN platform used to store all media data such as photos, videos, voice messages, etc.

## WebRTC API

Our phone uses a Cloudflare TURN server. Cloudflare offers this service for free (with generous limits).\
To create your TURN server, follow these steps:

{% stepper %}
{% step %}
Go to the official [Cloudflare dashboard](https://dash.cloudflare.com/), create an account, and then navigate to: [TURN SERVERS](https://dash.cloudflare.com/?to=/:account/realtime/turn/overview)
{% endstep %}

{% step %}
Click the "CREATE" button and optionally enter a name for your TURN server.
{% endstep %}

{% step %}
Save the Turn Token ID and API Token that appear on the screen. Do not share these credentials with anyone.
{% endstep %}

{% step %}
Open the file: `/configs/ApiKeys.lua` and paste:

* the API Token into `ApiToken`
* the Turn Token ID into `TurnTokenID`
  {% endstep %}

{% step %}
Complete the setup by clicking Finish on the Cloudflare panel.
{% endstep %}
{% endstepper %}

## FiveManage

To generate your FiveManage API Key, follow these steps:

{% stepper %}
{% step %}
Go to the official [FiveManage ](https://fivemanage.com/)website and create an account.
{% endstep %}

{% step %}
Create a new team by clicking "Create New Team".
{% endstep %}

{% step %}
After entering the dashboard, open the "Tokens" tab from the left navigation menu.
{% endstep %}

{% step %}
Create a new token by clicking "Create Token".

{% endstep %}

{% step %}
Optionally enter a name for the token and select the "Media" type.

Copy the generated token and paste it into: `/configs/ApiKeys.lua` and `API.FiveManage`
{% endstep %}
{% endstepper %}

**Done**! Now you can use all features that 17mov\_Phone brings to you!


---

# 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.17movement.net/phone/configure-apikeys.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.
