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

# Server-to-server access

> Run Mouter tools from a trusted backend using a restricted API key.

1. Create a key in the [Mouter dashboard](https://mouter.ai/dashboard) and restrict it to the tools your service uses.
2. Store the key in your backend's secret manager. Send it as a bearer token on server-side requests.
3. Persist the task ID returned by [submission](/docs/api-reference/execute.md) and correlate it with the operation in your application.
4. Use the same credential to [read the task](/docs/api-reference/tasks.md). Retain the API request ID for troubleshooting.

For a terminal job, pass the same key using the CLI's `MOUTER_API_KEY` environment variable.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.