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

# API Keys and Service Keys

> You can create API Keys to trigger Dograh Voice Agents and Service Keys to use with Inference Providers

The option to create the Keys are in [https://app.dograh.com/api-keys](https://app.dograh.com/api-keys) if you are using hosted version, or [http://localhost:3010/api-keys](http://localhost:3010/api-keys) if you are using the self hosted version.

### API Keys

API keys can be used to trigger a voice agent from an external system, like n8n or programatically from your other workflows. In order to generate that, you can go to `/api-keys` and create a new key.

<img src="https://mintcdn.com/dograhai/-cacgJ15QIlXjPA7/images/api-keys.png?fit=max&auto=format&n=-cacgJ15QIlXjPA7&q=85&s=13238077978e2096eac585cbb681d56a" alt="Create a new API Key" width="2428" height="978" data-path="images/api-keys.png" />

Please note that you must copy and keep the API key secretly, since this is the only time that you would be able to copy it. If you lose it, you can always delete that, if its not being used anywhere, and create a new API key.

### Service Keys

Service Keys are the keys which you generate to be used in [Model Configurations](inference-providers). In order to generate that, you can go to `/api-keys` and create a new key.

<Note>
  You can use a Service Key created in Dograh Cloud (`https://app.dograh.com/api-keys`) in your self-hosted Dograh deployment. Create the Service Key from your Dograh Cloud account, then paste it into **Model Configurations** in your self-hosted instance to use Dograh-managed inference providers. You can purchase Dograh credits in Dograh Cloud; billing happens on the Cloud account that owns the Service Key.
</Note>

<img src="https://mintcdn.com/dograhai/-cacgJ15QIlXjPA7/images/service-keys.png?fit=max&auto=format&n=-cacgJ15QIlXjPA7&q=85&s=4378f24c003322fdb7522fe30853ba7f" alt="Create a new Service Key" width="2352" height="1024" data-path="images/service-keys.png" />

<Warning>
  Service Keys are scoped to the Dograh Cloud account that created them. You cannot use a Service Key from one cloud-hosted account in another cloud-hosted account; create a new Service Key from the account where you want to use it.
</Warning>
