# API keys

1. Log in to your ZED account
   * if you don't have a ZED account, please go to: <https://zed.run/home/start>
2. Open Developer Tools in your browser:
   * Firefox: <https://developer.mozilla.org/en-US/docs/Learn/Common_questions/What_are_browser_developer_tools>
   * Chrome: <https://developers.google.com/web/tools/chrome-devtools/open>
3. Select **Console** tab
4. Run the following command in Console:

   ```
   localStorage.getItem("jwt").split(",")[0].split(":")[1].split("}")[0]
   ```
5. Select the string and copy the result to the clipboard

{% hint style="info" %}
This key will expire once your login session expires. We're working on providing the key that will last much longer.
{% endhint %}

We know this is not the ideal way of getting your developer secret but we wanted to share our documentation sooner rather than later. There's good news:

{% hint style="warning" %}
We plan to provide API keys in the Settings section but for now we will ask you retrieve it manually.
{% endhint %}

![](/files/-MUMnfzzIxN_DBDC2kA5)


---

# 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.zed.run/getting-started/api-keys.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.
