> ## Documentation Index
> Fetch the complete documentation index at: https://lightdash-mintlify-d3345c26.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Personal access tokens

You can create a personal access token (PAT) to authenticate in the [CLI](/get-started/setup-lightdash/get-project-lightdash-ready) or with the API.

## Creating a personal access token

To create a personal access token, head to the project settings, then to `personal access tokens`, then click `generate token`.

<Frame>
  <img src="https://mintcdn.com/lightdash-mintlify-d3345c26/y10PorTSQNbKsc-V/images/references/workspace/personal-tokens/create-pat-6ec282a4422b1a7c55c6b60c95937cf8.jpg?fit=max&auto=format&n=y10PorTSQNbKsc-V&q=85&s=e1eb05b5ec1efe75dbe29e6d7ff4ba94" width="2694" height="1484" data-path="images/references/workspace/personal-tokens/create-pat-6ec282a4422b1a7c55c6b60c95937cf8.jpg" />
</Frame>
