> 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/login-to-broker/5paisa.md).

# 5Paisa

### Login with 5Paisa

#### Step 1: Access the API Section

1. Log in to the 5Paisa Web Trading Platform.
2. Click on your Profile Icon (located at the top-right corner of the screen).
3. From the dropdown menu, select Xstream API.

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

#### Step 2: Retrieve Your API Keys

1. In the Xstream API section, look for the dropdown menu and select Get API Keys.

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

#### Step 3: Capture Your Credentials

1. This will display your User ID, Encryption Key, and other developer credentials.
2. Redirect URL: You must enter this exact URL for the Algomojo bridge:

```
https://fp.algomojo.com/arrow-connect/am/login-response/index.php
```

1. Locate the field for Static IP or IP Whitelist.
2. Action: Copy your Static IP from the Arrownect "My Servers" section.
3. Paste the IP into the designated box on the 5Paisa page.

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

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

From your [XStreamAPI Dashboard:](https://xstream.5paisa.com/dashboard)

1. Locate your newly created App.
2. Copy the API Key.
3. Copy the Encryption Key.
4. Copy the User ID.
5. Note down your 5paisa Client ID (e.g., A123456).

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

#### Step 4: Enter Details in Registration

On the New User Registration page of your trading bridge:

1. Broker: Select "5Paisa" from the dropdown.
2. Client ID: Paste your 5Paisa Client ID.
3. API Key: Paste the key you copied from [XStreamAPI](https://xstream.5paisa.com/dashboard).
4. Encrypt Key: Paste the secret key you copied from [XStreamAPI](https://xstream.5paisa.com/dashboard).
5. User ID: Paste the User ID you copied from [XStreamAPI](https://xstream.5paisa.com/dashboard).

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