# Adding Credentials to Vault

### 1. Navigate to Credentials Tab

Select a Vault in which you would like to import Credentials into.

<figure><img src="/files/vAX4j4XnaaIMDbT09S3r" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
In this case we are using a **Dynamic - Request Based Assign** Vault Type
{% endhint %}

### 2. Click on Add Credentials

<figure><img src="/files/avghY8qgsdIMSbrhi9O6" alt=""><figcaption></figcaption></figure>

### 3. Choose and Upload your Credentials in CSV Format

<figure><img src="/files/FSHvyIJd8AoJUNbSHOYP" alt=""><figcaption></figcaption></figure>

#### How to structure & upload credentials?

Follow the steps below to structure & upload your credentials in a CSV File.

1. Download the[ Sample CSV](https://bugbase.s3.ap-south-1.amazonaws.com/util/sample.csv) template and fill in the credentials you would like to add.
2. Enter the credentials which you would like to assign to bug hunters, you can add custom fields such as - *API Keys, Access Tokens, Username, Passwords etc*.
3. Once the Credentials CSV file is ready, upload it below (Only CSV Files supported upto 25MB).

{% hint style="danger" %}
For request-based dynamic vaults, the CSV file must include a **"bugbaseusername"** column containing the user's BugBase platform username for proper assignment.
{% endhint %}

### 4. Preview Uploaded Credentials

Once the uploaded CSV is in a correct format, Credentials would show up in a table.&#x20;

<figure><img src="/files/A6gjDLRIHmwkpwvl9ySa" alt=""><figcaption></figcaption></figure>

{% hint style="success" %}
:tada: Congratulations you've successfully **Added Credentials to a Credential Vault**
{% endhint %}


---

# 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.bugbase.ai/company-guide/credential-vaults/adding-credentials-to-vault.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.
