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

# Account Creation

> How to create your 0xGraph account

## Setup Steps

### 1. Create Account

Visit [somnia.0xgraph.xyz](https://somnia.0xgraph.xyz) to create your account.

<Frame>
  <img src="https://mintcdn.com/ormilabs/JlJYa16BgTj1OqXG/images/somnia/0xgraph-signup.png?fit=max&auto=format&n=JlJYa16BgTj1OqXG&q=85&s=fa152815463aff23d82e148d2f2adb8b" alt="Somnia App Registration" width="3400" height="1780" data-path="images/somnia/0xgraph-signup.png" />
</Frame>

### 2. Choose Subscription Plan

Choose a plan that best fits your needs in [Settings page](https://somnia.0xgraph.xyz/dashboard/settings).

<Frame>
  <img src="https://mintcdn.com/ormilabs/JlJYa16BgTj1OqXG/images/somnia/0xgraph-pricing.png?fit=max&auto=format&n=JlJYa16BgTj1OqXG&q=85&s=cbc5eafaca7221e19f60944b51d8bc45" alt="Somnia Subscription Plans" width="3468" height="1810" data-path="images/somnia/0xgraph-pricing.png" />

  <figcaption>Choose a subscription plan</figcaption>
</Frame>

### 3. Generate API Key

Go to the [API Keys Page](https://somnia.0xgraph.xyz/dashboard/api) to create your API key.

<Frame>
  <img src="https://mintcdn.com/ormilabs/JlJYa16BgTj1OqXG/images/somnia/0xgraph-api-key.png?fit=max&auto=format&n=JlJYa16BgTj1OqXG&q=85&s=b32283b245f9d591c860c05e57208476" alt="Somnia API Keys" width="3488" height="1846" data-path="images/somnia/0xgraph-api-key.png" />

  <figcaption>API Keys</figcaption>
</Frame>

After clicking the 'Create API Key' button in the top-right corner, your API key will be generated. You can then copy and paste it into your commands as needed.

<Frame>
  <img src="https://mintcdn.com/ormilabs/JlJYa16BgTj1OqXG/images/somnia/0xgraph-generated-api-key.png?fit=max&auto=format&n=JlJYa16BgTj1OqXG&q=85&s=3965977d6a01dec9169303e3c92b57bc" alt="Somnia API Keys" width="3430" height="1832" data-path="images/somnia/0xgraph-generated-api-key.png" />

  <figcaption>API Keys</figcaption>
</Frame>

<Info>
  Warning: Always handle your API keys securely. Do not expose them in client-side code or share them publicly. Store them in a secure location, such as
  environment variables, and rotate them regularly to minimize security risks. If compromised, regenerate your API key immediately. For public repositories,
  store API keys in a .env file and add .env to .gitignore to prevent accidental exposure in your codebase.
</Info>

You are all set and ready to go for deploying a subgraph.
