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

# Setting up an environment

> Get started with a sandbox environment

# Environments

Axle provides **sandbox** environments for testing and development purposes. The API docs are interactive; once you're authenticated, you will be able to make
calls to `api-sandbox.axle.energy` via these docs.

Please [get in touch](mailto:hello@axle.energy) to setup a new sandbox account.

When you're ready to roll with a **production** environment, please [get in touch with the team](mailto:hello@axle.energy).

## Use your credentials to obtain a token

We use token-based authentication, whereby you exchange your API credentials for a token which gives
time bound access to specific resources.

To get a token for your session, see the [Authentication](../api-reference/auth/token-form) page, using the `username` and `password`
provided when you created your new sandbox.

This token must be included in subsequent requests as a bearer token:

```bash theme={null}
'Authorization': 'Bearer <team_token>'
```

This token expires after 1 hour. You'll need to refresh it after that.
