# How to connect BloFin

{% hint style="danger" %}
It is vital to use PrimeAutomation's official BloFin/Bitget affiliate link when using prime automation. This ensures we can manage your trades correctly.\
During connection you will be prompted for either a UID or to create a new BloFin account. \
If you don't have a BloFin account sign up using our link below.

<a href="https://partner.blofin.com/d/ChartPrime" class="button primary" data-icon="exclamation">PrimeAutomation BloFin Signup</a>
{% endhint %}

### How to Connect Blofin

{% stepper %}
{% step %}

### Navigate to Manage Exchanges

Go to the **Manage Exchanges** tab from the top menu.
{% endstep %}

{% step %}

### Add a Nickname

Enter a **nickname** for the account (for your reference).
{% endstep %}

{% step %}

### Paste API Credentials

Paste in your **API Key** and **API Secret**.
{% endstep %}

{% step %}

### Verify Permissions

Ensure that:

* ✅ Trading permissions are **enabled**
* ❌ Withdrawal permissions are **disabled** *(for security)*
  {% endstep %}
  {% endstepper %}

![Trading Permissions](/files/19cde8fd4e7f0cd4f57c455af20bb8693694c918)

*Enabling trading permissions on your preferred exchange*

> 🔐 **Your API credentials are encrypted** and stored securely. Bots can only open and close trades — never move or withdraw funds.

### Step by step video on how to connect

{% embed url="<https://youtu.be/wcsNPCl_XNI>" %}

### ⚠️ Exchange Account Note

<details>

<summary>Read the exchange account note</summary>

If your exchange account **was not created via a PrimeAutomation affiliate link**, you may be prompted to re-sign up to ensure full integration compatibility.

</details>

***


---

# 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.primeautomation.ai/getting-started/how-to-connect-blofin.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.
