> ## Documentation Index
> Fetch the complete documentation index at: https://docs.enterspeed.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 1. Sources & Environments

# Sources & Environments in Enterspeed

Start by logging into Enterspeed: [https://app.enterspeed.com](https://app.enterspeed.com)

In this step, we're going to:

1. Create sources
2. Create and configure domains
3. Create environment clients

## Creating sources

Go to **Data sources** under *Settings* and click the **Create group** button. This will open a modal that allows you to create a new source group. A source group can have multiple data sources attached, which each have its own unique API key.

<Info>
  We will be using [Postman](https://www.postman.com/) to ingest data into Enterspeed, which we will cover in the next step. Feel free to use an alternative like [Insomnia](https://insomnia.rest/), etc.
</Info>

Give your source a name (e.g. *Postman*) and select a type (e.g. *Tool*). Afterward, add a data source by giving it a name (e.g. *Postman development*) and select an environment (e.g. *Production*), then click the **Add** button. Lastly, click on the **Create** button.

<img src="https://mintcdn.com/enterspeed/U-p4hKh6hit1rd09/images/docs/examples/create-source-group-postman.png?fit=max&auto=format&n=U-p4hKh6hit1rd09&q=85&s=54438760abf124d48a9a0898ea1354c9" alt="Create source Enterspeed" width="1014" height="899" data-path="images/docs/examples/create-source-group-postman.png" />

An API key is now generated. Save the API key for now (e.g., in a Notepad document) – you'll need it in the next step. Don't worry, you can always access the key again under **Data sources**.

## Creating and configuring domains

Go to **Domains** under *Settings -> Environment settings* and click the **Create** button. Give your domain a name (e.g. *DomainName.com*) and click on the **Create** button.

<img src="https://mintcdn.com/enterspeed/U-p4hKh6hit1rd09/images/docs/examples/create-domain.png?fit=max&auto=format&n=U-p4hKh6hit1rd09&q=85&s=575804df3043de9348a441d69b406f3f" alt="Create domain" width="995" height="372" data-path="images/docs/examples/create-domain.png" />

<Info>
  **Domains** are used in Enterspeed as a way of filtering your data if you have multiple data sources. You can name it whatever you like, but we recommend using the same name as your domain name for ease of use.
</Info>

Afterward, click on the three dots next to the domain name and select **Edit hostnames**. Click **Create new** and insert the URL you're going to use for your new project.

<img src="https://mintcdn.com/enterspeed/U-p4hKh6hit1rd09/images/docs/examples/create-hostname-8888.png?fit=max&auto=format&n=U-p4hKh6hit1rd09&q=85&s=d811acecdf740cbf8194d9e3b7edc528" alt="Create hostname" width="1011" height="388" data-path="images/docs/examples/create-hostname-8888.png" />

<Tip>
  If you're working on your project locally, you can insert for instance *localhost:8888*.

  If you're working on an environment like Netlify you can insert the site URL for instance *[https://my-new-kickass-enterspeed-project.netlify.app](https://my-new-kickass-enterspeed-project.netlify.app)*
</Tip>

## Creating environment clients

Navigate to **Environment clients** under *Settings -> Environment settings* and click the **Create** button. Give your environment client a name (e.g. *Frontend*) and select the **Environment** you just created. Afterward, click on the **Create** button.

<img src="https://mintcdn.com/enterspeed/U-p4hKh6hit1rd09/images/docs/examples/create-environment-client-frontend.png?fit=max&auto=format&n=U-p4hKh6hit1rd09&q=85&s=fe6f3698b0e1d49dc3bc391818f1296e" alt="Create environment client Enterspeed" width="1013" height="495" data-path="images/docs/examples/create-environment-client-frontend.png" />

Also save this API key for now (e.g., in a Notepad document) - we're going to use it in our JavaScript application. Don't worry, you can always access the key again under **Environment clients**.

Now, next to your new environment client click on the three dots and select **Edit domains**. Select the domain you just created and click the "**Save changes**" button.

<img src="https://mintcdn.com/enterspeed/U-p4hKh6hit1rd09/images/docs/examples/environment-client-domains-frontend.png?fit=max&auto=format&n=U-p4hKh6hit1rd09&q=85&s=c538a94942636887573d4fe6a45670cf" alt="Environment client Domains" width="1013" height="477" data-path="images/docs/examples/environment-client-domains-frontend.png" />

Fantastic, next it's time to ingest some data into Enterspeed.
