Skip to main content

Set Up Your Anthropic Account

This page walks you through creating an Anthropic developer account, enabling billing, and generating an API key.

Prerequisites

  • An email address for your Anthropic account
  • A payment method (credit card) for billing
  • Access to your email for account verification

Step 1: Go to Anthropic Console

  1. Visit https://console.anthropic.com/ in your browser
  2. You should see the Anthropic Console sign-in page

Step 2: Create Your Account

If you don't have an Anthropic account yet:

  1. Enter your email and continue with email or click "Continue with Google"
  2. If signing up with email, click the link that gets sent to your email
  3. Enter your full name and check the box to agree to the terms, then click continue
  4. Choose "Organization" for the account type
  5. Your account is now created and you're logged in

If you already have an Anthropic account, simply log in with your email and password.

Step 3: Add a Payment Method

Your Anthropic account must have billing enabled before API keys will work. This is required even if you have free trial credits.

  1. Click SettingsBillingBuy credits
  2. Enter your address (for tax calculation purposes)
  3. Enter your credit card information and choose if you want to buy more than $5 of credits to start out with
  4. Optionally enable auto-reload to automatically add money to the account when it drops below $5
  5. Your payment method is now on file and billing is enabled

Important: Your account needs a valid payment method even if you have free trial credits. Without billing enabled, API keys will be rejected.

Step 4: Navigate to API Keys

  1. In the Anthropic Console, click on API Keys in the left sidebar (or top navigation menu)
  2. You should see your existing API keys (if any) and an option to create a new key

Step 5: Create a New API Key

  1. Click + Create Key or Generate New Key button

  2. A dialog or form will appear asking for a key name

  3. Enter a descriptive name for your key, for example:

    • RepoRisk Production
    • RepoRisk - Main Account
    • RepoRisk Scanning

    Use a name that makes it easy to identify which service uses this key.

  4. Click Create or Generate

Step 6: Copy Your API Key

IMPORTANT: Your API key is displayed only once after creation. You must copy it immediately before navigating away.

  1. After creation, your API key will appear in a highlighted box
  2. The key will look something like: sk-ant-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
  3. Click the Copy button (or select and copy the text manually)
  4. Copy this key immediately — you will need it in the next step to configure RepoRisk
  5. Once you navigate away from this page, you will not be able to retrieve this key again

Warning: If you forget to copy your key, you must return to API Keys and delete it, then create a new one.

Step 7: Store Your Key Securely

Immediately enter your API key into RepoRisk Settings and save it there. Once it is entered in RepoRisk, there is no reason to store it elsewhere since we immediately encrypt it before it gets written to the database.

If you prefer to store a backup copy elsewhere, you may use one of these methods:

  • Password manager (Bitwarden, 1Password, LastPass, etc.)
  • Secure notes in a notes app that encrypts sensitive data
  • Key vault or secrets management tool if your organization uses one

Never store it in plain text in files, email, or chat.

Do not share your key with anyone. If you need to share RepoRisk access with team members, they should either:

  • Use their own Anthropic API key (if using BYOK)
  • Use the platform's shared API key (if their plan tier includes it)

What's Next?

You now have an API key ready to use. The next step is to add it to RepoRisk:

→ Continue to Configure BYOK in RepoRisk

Troubleshooting

Q: My payment method was rejected
A: Verify your card details (number, expiration, CVC) are correct. Try a different payment method if available. Contact your card issuer to confirm the card is active and not blocked.

Q: I can't find the API Keys section
A: Make sure you're logged in to console.anthropic.com. The API Keys section is usually in the left sidebar under "Workspace" or in the top navigation. Check your user menu if you don't see it.

Q: My API key shows an error when I use it in RepoRisk
A: Verify that:

  • Your Anthropic account has billing enabled (check Account → Billing Settings)
  • The key you copied is complete (should start with sk-ant- and be about 40+ characters long)
  • You didn't accidentally add extra spaces or characters when copying
  • You haven't revoked the key in the Anthropic Console

For more troubleshooting, see BYOK Troubleshooting.

Additional Resources