# Publishing with API Key

{% hint style="info" %}
If you signed up with Google for your Airship account the steps to publish are [here](/publishing/publish-game.md).
{% endhint %}

If you aren't signed into editor you can still publish your game using API keys.

### Registering an API Key

1. Go to your [organization's API keys dashboard](https://create.airship.gg/dashboard/organization/api-keys) and click `Create Key` .&#x20;
2. Give your key permission to publish to the game you want to deploy to.
3. In Unity Editor go to `Airship > Configuration` and paste the key in `Airship API Key`

<div align="center" data-full-width="false"><figure><img src="/files/Rx9oIGFzlmAhS4Gbzv5H" alt="" width="116"><figcaption></figcaption></figure></div>

### Setting Up Your Publish Target

1. Grab your game id from your [create dashboard](https://create.airship.gg/dashboard).

<div data-full-width="false"><figure><img src="/files/YxjyFnDqQLar4oswa8Y1" alt="" width="375"><figcaption></figcaption></figure></div>

2. Go to your game config

<figure><img src="/files/4TQZX7g5IOgbQYj3BeMq" alt="" width="176"><figcaption></figcaption></figure>

3. Paste in your game id to `Target game id` and click `Submit`

<figure><img src="/files/Vb2QYv0pjR258V8hDg6P" alt="" width="375"><figcaption></figcaption></figure>

{% hint style="success" %}
If your game names shows up next to "Publish target" you are ready to deploy!
{% endhint %}


---

# 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.airship.gg/publishing/publishing-with-api-key.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.
