> For the complete documentation index, see [llms.txt](https://docs.algomojo.com/algomojo/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.algomojo.com/algomojo/brokers/static-ip-integration/dhanhq.md).

# 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.
