> For the complete documentation index, see [llms.txt](https://docs.chainbot.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.chainbot.io/basic-usage/contracts-mange/add-contract.md).

# Add Contract

### How to Add a Contract

1. After logging in, you will see the "Custom Contract" option on the left in the user interface. Click on this tab to enter the configuration page.
2. Click the "Add Custom Contract" button in the top right corner and fill in the relevant information for the smart contract.

<figure><img src="/files/sIt9UQh5e2HR0dQN6vbm" alt=""><figcaption><p>Add Contract</p></figcaption></figure>

<figure><img src="/files/SmjBiY5SLUv9VE1TOHT4" alt=""><figcaption><p>Add Contract</p></figcaption></figure>

Explanation of contract fields

<table><thead><tr><th width="208">Field</th><th>Description</th><th>Example</th></tr></thead><tbody><tr><td>Name</td><td>Custom contract name</td><td>CurveStablecoin3pool</td></tr><tr><td>Chain</td><td>Select the chain supported by the ChainBot platform</td><td>Ethereum, BSC, etc.</td></tr><tr><td>Address</td><td>Contract address</td><td>0xdAC17F958D2ee523a2206206994597C13D831ec7</td></tr><tr><td>ABI</td><td>Contract-related ABI information in JSON format</td><td>[]</td></tr><tr><td>Functions / Events</td><td>Functions and events defined by the contract</td><td>function getOwner();<br>event Issue(uint amount);</td></tr></tbody></table>
