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

# Getting a Tinfoil API key

> Step-by-step guide for generating a Tinfoil API key

### Step 1: Navigate to Homepage

Start by visiting [https://tinfoil.sh/](https://tinfoil.sh/) and click the **"Get Started"** button in the top right corner.

<img src="https://mintcdn.com/tinfoil/V4FchSA2f5FVqQCB/images/apikey-walkthrough/step-1-homepage.jpeg?fit=max&auto=format&n=V4FchSA2f5FVqQCB&q=85&s=1b648e26629f88051daa500e9813298e" alt="Tinfoil homepage" width="2265" height="225" data-path="images/apikey-walkthrough/step-1-homepage.jpeg" />

### Step 2: Log In or Sign Up

Enter your credentials to log in to your account. If you don't have an account yet, click "Sign up" to create one or use one of the social connections.

<img src="https://mintcdn.com/tinfoil/V4FchSA2f5FVqQCB/images/apikey-walkthrough/step-2-login.jpeg?fit=max&auto=format&n=V4FchSA2f5FVqQCB&q=85&s=e073fd7cc8d863cc8fed431280e32c6f" alt="Login page" width="2260" height="1352" data-path="images/apikey-walkthrough/step-2-login.jpeg" />

### Step 3: Access Your Dashboard

Once logged in, click the **"Dashboard"** button in the top right corner.

<img src="https://mintcdn.com/tinfoil/V4FchSA2f5FVqQCB/images/apikey-walkthrough/step-3-access-dashboard.jpeg?fit=max&auto=format&n=V4FchSA2f5FVqQCB&q=85&s=e0be61849d28a23c6091272fbf0cfbcc" alt="User dashboard" width="2256" height="284" data-path="images/apikey-walkthrough/step-3-access-dashboard.jpeg" />

### Step 4: Activate Private Inference

Find the **Private Inference** product card and click the **"Activate"** button to activate your API subscription.

<img src="https://mintcdn.com/tinfoil/V4FchSA2f5FVqQCB/images/apikey-walkthrough/step-4-activate.jpeg?fit=max&auto=format&n=V4FchSA2f5FVqQCB&q=85&s=78d136a83b9aee7567ed3ad1760d7e4f" alt="Access API dashboard" width="2462" height="1412" data-path="images/apikey-walkthrough/step-4-activate.jpeg" />

### Step 5: API Checkout

Complete the checkout by entering your payment details. You're only charged based on usage.

<img src="https://mintcdn.com/tinfoil/V4FchSA2f5FVqQCB/images/apikey-walkthrough/step-5-api-checkout.jpeg?fit=max&auto=format&n=V4FchSA2f5FVqQCB&q=85&s=d008ac5a0426d4978ab92ece88d2c13c" alt="API checkout page" width="2458" height="1738" data-path="images/apikey-walkthrough/step-5-api-checkout.jpeg" />

### Step 6: Create a New API Key

After completing checkout, you'll be taken back to the dashboard. Click the **"API Keys"** tab in the top navigation bar to go to the API key management page.

<Tip>
  Use descriptive names like "Production", "Development", or "Mobile App" to easily identify your keys later.
</Tip>

<img src="https://mintcdn.com/tinfoil/V4FchSA2f5FVqQCB/images/apikey-walkthrough/step-6-name-api-key.jpeg?fit=max&auto=format&n=V4FchSA2f5FVqQCB&q=85&s=d1b70ad7b9f7161f0a192f00a557f206" alt="API key management page" width="2458" height="1194" data-path="images/apikey-walkthrough/step-6-name-api-key.jpeg" />

### Step 7: Name and Create Your Key

Type a name for your key and click the **"Create API Key"** button.

<img src="https://mintcdn.com/tinfoil/V4FchSA2f5FVqQCB/images/apikey-walkthrough/step-7-name-api-key.jpeg?fit=max&auto=format&n=V4FchSA2f5FVqQCB&q=85&s=b6ad83e09d0fd99a87b52bc4ff3bbe20" alt="Naming and creating your API key" width="2462" height="1422" data-path="images/apikey-walkthrough/step-7-name-api-key.jpeg" />

### Step 8: Copy Your API Key

Your new API key will appear in the list. Click the **copy** button to copy it, or the **eye** button to reveal the full key.

<img src="https://mintcdn.com/tinfoil/V4FchSA2f5FVqQCB/images/apikey-walkthrough/step-8-copy-api-key.jpeg?fit=max&auto=format&n=V4FchSA2f5FVqQCB&q=85&s=05bfc7dbe4cb903a1f9d3ec31594b5d3" alt="Copy your API key" width="2464" height="1580" data-path="images/apikey-walkthrough/step-8-copy-api-key.jpeg" />

### Step 9: Manage Billing

Navigate to the **Billing** tab to view your current usage, set a monthly spend limit, or manage your subscriptions.

<img src="https://mintcdn.com/tinfoil/V4FchSA2f5FVqQCB/images/apikey-walkthrough/step-9-manage-billing.jpeg?fit=max&auto=format&n=V4FchSA2f5FVqQCB&q=85&s=ef039b047cd9a10e9233a2bdb3c713b3" alt="Billing and subscription management" width="2460" height="1810" data-path="images/apikey-walkthrough/step-9-manage-billing.jpeg" />
