> For the complete documentation index, see [llms.txt](https://newsly.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://newsly.gitbook.io/docs/using-the-bot/setup-guide/generating-api-keys-on-bitget.md).

# Generating API Keys on Bitget

you'll need to generate a specific set of API keys exclusively for Newsly. Follow these steps to generate your API keys on Bitget:

1. Login in to your [Bitget account](https://partner.bitget.com/bg/Mirrorly)
2. Navigate to the [API Management section](https://www.bitget.com/account/newapi) to create new API keys. Select a dedicated Newsly account or sub-account to be used for Newsly.

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

1. Click on "Create API". You'll be prompted to choose an API key type. If you're not sure how to generate your own keys, select "System Generated API Keys".
2. Give the API keys an easy-to-identify note such as "Newsly" and create a passphrase. **Remember this passphrase, as you'll need it for the integration in a few moments.**

<figure><img src="/files/mGcOQbmAd2CIo6VmcqPy" alt="" width="375"><figcaption></figcaption></figure>

1. Select "Read-Write" and copy the permissions indicated in the image below to ensure your setup matches. **Be sure to add the following IP to your API Key to ensure extra security: `52.30.103.212`**

<figure><img src="/files/Plp9XgBG7cqevIqnLJfn" alt="" width="375"><figcaption></figcaption></figure>

<figure><img src="/files/zQ2ZNYqpCcFC4CshwaF8" alt="" width="375"><figcaption></figcaption></figure>

1. Copy the API key, secret & passphrase to the bot and you should be good to go!


---

# 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://newsly.gitbook.io/docs/using-the-bot/setup-guide/generating-api-keys-on-bitget.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.
