> For the complete documentation index, see [llms.txt](https://docs.openg2p.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.openg2p.org/products/spar/user-guides/admin-guide-to-link-id-with-financial-address-information.md).

# Link FA (Admin)

## Introduction

This document contains step-by-step instructions for the administrator to link IDs with Financial Address (FA) information. The administrator has to run the script to map the National IDs with the bulk FA of the beneficiaries.

## Prerequisite

* Administrator must have a .csv file which contains the bulk FA data of the beneficiaries in the required format. To know the format of the .csv file, refer the [sample\_data.csv](https://github.com/OpenG2P/social-payments-account-registry/tree/develop/scripts) file available in the cloned repository. In .csv file, the mandatory columns are National ID and Account number. The optional columns are Name and Phone.

<figure><img src="/files/GZGK4LHqdpGWsBLzANgk" alt=""><figcaption><p>sample_data.csv</p></figcaption></figure>

* The administrator system must have python and its modules cryptography, requests installed

## Procedure

The administrator must follow the following sequence process:

1. The administrator must clone the SPAR repository <https://github.com/OpenG2P/openg2p-spar> and locate the admin/seed scripts within it.
2. Click the python script file ***link\_mapper.py***. The script is displayed.

<figure><img src="/files/kPm2rUBuXbLgmJyKuO1d" alt=""><figcaption><p>Python script</p></figcaption></figure>

In the script, the ***mapper\_link\_api\_url*** and the ***csv\_path*** must be verified and updated.

3. Double click the script file ***link\_mapper.py*** to run the script.
4. After the administrator runs the script, the response is triggered in a cmd prompt which shows that the National IDs are linked to the FA of the beneficiaries.

<figure><img src="/files/E40mTllxPr5taKzlWdUz" alt=""><figcaption><p>Sample response message.</p></figcaption></figure>

5. Press Enter to exit from the cmd prompt.

***Note:***

Administrator can use a JSON formatter to format the response triggered in cmd format and to infer the response.


---

# 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://docs.openg2p.org/products/spar/user-guides/admin-guide-to-link-id-with-financial-address-information.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.
