> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tren.ch/llms.txt
> Use this file to discover all available pages before exploring further.

# Build with tren.ch

> Let your users connect their trench account to your app; trade, vote, and propose without ever leaving your product.

Builders are encouraged to use the available tren.ch **API**. To set up the **API**, simply visit the tren.ch **API** page by using the '**More**' drop down in the page header and clicking '**Build with tren.ch**'. <br /><br />Fill in the details to register your app; you must provide a name and redirect URLs. Define which **Scopes** you wish to apply to your app and then click '**Create**'.  <br /><br />**Available Scopes:**

**Read Profile** `[profile:read]`<br />View your trench profile (wallet address, handle, avatar).<br /><br />**Execute Trades** `[trade:execute]` <br />Buy and sell tokens using your connected trench wallet. <br />*High risk.* <br /><br />**Launch Tokens** `[coin:create]`<br />Launch new tokens from your connected trench wallet, including an optional first buy. <br />*High risk.*

**Vote in Governance** `[governance:vote]`<br />Vote on proposals and withdraw your locked vote tokens. <br />*High risk.* <br /><br />**Create Proposals** `[governance:propose]`<br />Create governance proposals, which locks a bond from your wallet. <br />*High risk.* <br /><br />Once completed, you will receive a client ID and key to use when connecting your app server. **Copy your key now and do not expose this.** It will not be displayed again. <br /><br />Once an app-end user connects, they will be asked to approve the scopes you applied in a trench popup window. Your server swaps the code for a token scoped to that user; once connected users can call on the **API** to trade, vote and propose on their behalf.

<Frame>
  <img src="https://mintcdn.com/trenchdocs/8k9y8UytwM_1r70K/images/Screenshot-2026-08-11-193144.png?fit=max&auto=format&n=8k9y8UytwM_1r70K&q=85&s=b502f1c947f0925e0eb444bbd4e49023" alt="Screenshot 2026 08 11 193144" width="874" height="463" data-path="images/Screenshot-2026-08-11-193144.png" />
</Frame>

You can create new **API keys** by navigating to the **API keys** section of the overview panel and clicking '**New Key**'. You can also delete keys when needed within the same panel by clicking the **Trash** icon next to any key.

<Frame>
  <img src="https://mintcdn.com/trenchdocs/8k9y8UytwM_1r70K/images/Screenshot-2026-08-11-193419.png?fit=max&auto=format&n=8k9y8UytwM_1r70K&q=85&s=bf5fbcec64d74f17d0be60d1f9a9819a" alt="Screenshot 2026 08 11 193419" width="875" height="287" data-path="images/Screenshot-2026-08-11-193419.png" />
</Frame>

You can see an overview of API usage and limits by navigating to the bottom of the page. If you need custom limits to support your app, please get in contact with our team [via the tren.ch discord.](https://discord.com/invite/trench)<br /><br /><br /><br />
