# Platform API Tokens

### Global concept

Platform API tokens are a way to call the Flagship API within your own integrations, in order to automate actions made on the Flagship Platform.

### How to create an API Token?

You can create an API Token in the Flagship platform in the Settings -> Platform Integration section

![1253](https://files.readme.io/12f00b0-menu.png)

An API Token requires a single field to be created:

* **Name**: this field is a plain text field to remember what is the purpose of the Token.

### API Token use cases

Right now, the API Token is used for one purpose only: integrate Flagship with your git solution provider. See [Codebase Analyzer](doc:codebase-analyzer) for more details.

#### Codebase Integration

In that use case, the API Token is passed as an environment variable to the Flagship Codebase Analyzer when running your git solution pipeline.\
See [Codebase Analyzer](doc:codebase-analyzer) for more details.

Any feedback? [We would be really happy to have a quick chat!](mailto:product.feedback@abtasty.com?subject=Flagship%20Custom%20Integration%20Feedback)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.abtasty.com/server-side/integrations/codebase-analyzer/api-tokens.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
