> For the complete documentation index, see [llms.txt](https://docs.teller.org/teller-widget/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.teller.org/teller-widget/generating-subgraph-studio-api-key.md).

# Generating subgraph studio api key

1. Go on [subgraph studio](https://thegraph.com/studio/) and connect your wallet and complete the account creation flow if it's the first time. If not connect a wallet that already has an account

   <figure><img src="/files/3T7SDCT7I9GqWgfIIxJI" alt=""><figcaption></figcaption></figure>
2. Sign the message from your wallet to verify ownership
3. Click on "API Keys"

   <figure><img src="/files/LbAjSQYsjj4mtqhcEBNa" alt=""><figcaption></figcaption></figure>
4. Create a new api key

   <figure><img src="/files/EdHoN3XFQWvyK7wNVqGT" alt=""><figcaption></figcaption></figure>
5. Give your API key a name and then set the spending limit
6. Copy the API key and pass it in the `subgraphApiKey` prop in the widget

   <figure><img src="/files/C7ftsrLPj6HCJ4UrFHd9" alt=""><figcaption></figcaption></figure>
7. You can additionally add a whitelisted domain list so the key only works on specific domains
