> For the complete documentation index, see [llms.txt](https://docs.browsee.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.browsee.io/integration/api-calls/generate-secret-key.md).

# Generate Secret Key

Browsee allows you to import data via its APIs. For using our APIs, you need to generate a secret API key which you should never make public (more about Secret key security below).&#x20;

### How to generate a secret key?

* Go to Your[ Account or Settings page](https://browsee.io/app/settings)
* Go to **Integrations** tab from left navigation

![](/files/-MD-EkU-H2Y5HMwyMd7m)

* Click on "Generate New Key" for getting an API Key

![](/files/-MD-FJBhJkdk2-AmF0uK)

* Once, you click on the button, you will get a key. Remember to store your key somewhere safe because as soon as you navigate from this page, you will not be able to retrieve or restore this generated token.&#x20;

![](/files/-MD-FNb3yOJwdN4pvI3I)

* However, you can always generate a new one.

![](/files/-MD-FjtnwGQZ1xM5-aWc)

### How to keep the secret key a secret?

It is important to understand that anyone who has access to this secret key will be able to access your account's data. Thus it's important to keep it a secret. Here are somethings you should never do with your secret key

* Use it from the client side Javascript code. Client-side javascript code is public to anyone on your website and they can then reproduce the same code.
* Check it in public repositories or any repository accessible to anyone whom you do not want to access Browsee's data.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.browsee.io/integration/api-calls/generate-secret-key.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
