Step 1: Access Your Dashboard

Start by logging into your Tinfoil account and navigating to your dashboard at https://tinfoil.sh/. Tinfoil dashboard

Step 2: Navigate to Admin Tab

Click on the “Admin” tab in your dashboard navigation. This section is where you can create and manage admin API keys. Admin tab selection

Step 3: Name Your Admin Key

Enter a descriptive name for your admin key. This helps you identify different admin keys if you create multiple ones for different administrative purposes or environments. Naming your admin key

Step 4: Create Admin Key

Click the “Create Admin Key” button to generate your new admin API key. This key will have administrative privileges for managing your Tinfoil resources.
Admin keys have elevated permissions. In particular, they can be used to generate inference API keys. Store them securely and never expose them in client-side code or public repositories.
Create admin key button

Step 5: Test in Postman (Optional)

You can test your admin key directly in Postman or any API client. Copy the API endpoint URL to make your first admin API call. Postman URL setup

Step 6: Set Bearer Token

Configure your API client with the admin key as a Bearer token in the Authorization header:
Authorization: Bearer your-admin-key-here
Setting Bearer token

Step 7: Get Results

Make your API request and verify that you’re getting successful responses. Your admin key is now ready for use with administrative operations. API response results

Admin Key Capabilities

Admin keys can be used to create inference API keys and access billing metrics for your account. For complete documentation of available endpoints and their usage, see the Admin API Documentation.