# Set the credentials

## What is a Credential?

A credential is a unique secret key used by individual users. To utilize an API, you need this key to access or call the API. With proper permissions, the API will respond to your requests.

For our LLM as a service, an API key is required to access the API. Therefore, you must create your credential or API key before use.

## Managing API Keys

<figure><img src="/files/PBe7KsnQqre9lRNF5PVN" alt=""><figcaption><p>Credentials Management</p></figcaption></figure>

### Adding an API Key

To add a new API key, follow these steps:

1. In the service, navigate to the "Credentials" menu.
2. Click on "Generate New API Key".
3. Enter an API key name (optional) and click "Create API Key".
   * If you don't enter a name, it will default to "secret key".
4. Your API key is now successfully added.

### Deleting an API Key

To delete an existing API key:

1. In the service, navigate to the "Credentials" menu.
2. Locate the credential you wish to delete. Click<img src="/files/YlGyG9p3GlwLzqEqdn6X" alt="" data-size="line">at the end of the selected API key row.
3. Confirm the deletion.&#x20;
4. A notification will appear stating "API Key Revoked", indicating successful deletion.

## Quota Management

Currently, the system provides 20 api key quotas per account (across all workspaces). You can check your quota usage in the following ways:

* On the Credentials page
* When creating a new API key
* In the service quota settings

For more information about quota management, please refer to [Service Quota](/getting-started/account/service-quota.md).


---

# 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.float16.cloud/getting-started/llm-as-a-service/quick-start/set-the-credentials.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.
