# DhanHQ

### 🔗 Adding Static IP to Dhan Broker

Dhan allows you to whitelist your Static IP to ensure that automated orders are only accepted from your trusted Arrownect server.

#### Step 1: Navigate to API Settings

1. Log in to the [Dhan Web Platform](https://web.dhan.co).
2. Click on your Profile Picture/Icon in the top-right corner.
3. Select "Access DhanHQ APIs" (or "DhanHQ Trading APIs") from the dropdown menu.

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

#### Step 2: Add Your Static IP

1. Look for the "Optional Settings" section at the bottom of the page.<a class="button secondary"></a>
2. Find and choose the Static IP Setting (or Add IP Setting) option.<a class="button secondary"></a>
3. Action: Copy your Static IP from the Arrownect "My Servers" section and paste it into the field provided in Dhan.

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

<figure><img src="/files/1qCoV9vRowwkQ8oZKS7B" alt=""><figcaption></figcaption></figure>

***

#### Step 3: Save & Update

1. Click the Save button.
2. The system will update your record, and your broker-side configuration is now complete.

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

#### ⚠️ Critical Note: The 7-Day Rule

> Think twice before you save! As per Dhan’s security policy and exchange regulations, once you update or change your Static IP, you cannot edit it again immediately. You must wait for 6 to 7 days before the system allows another modification.


---

# 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.algomojo.com/algomojo/brokers/static-ip-integration/dhanhq.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.
