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

# Codegen - How do I link my account?

# Overview

To authenticate with Codegen, you need:

1. **Token** - A token that grants Nango permission to interact with Codegen's APIs resources and services.

This guide will walk you through obtaining your token from Codegen.

### Prerequisites:

* You must have an account with Codegen.

### Instructions:

#### Step 1: Finding your token

1. Go to [developer settings](https://codegen.sh/token) to generate an API token
2. Click "Generate token".
3. Copy the generated token key and store it securely.

<img src="https://mintcdn.com/nango/NOoh2SaXumw3Gno2/integrations/all/codegen/tokens.png?fit=max&auto=format&n=NOoh2SaXumw3Gno2&q=85&s=7843a12bdd2e1feff24c6dc1e74f9cf8" width="3314" height="2004" data-path="integrations/all/codegen/tokens.png" />

#### Step 2: Enter credentials in the Connect UI

Once you have your **Token**:

1. Open the form where you need to authenticate with Codegen.
2. Enter your **Token** in its designated field.
3. Submit the form, and you should be successfully authenticated.

You are now connected to Codegen.
