# A Quick Start For Wallet & Terminal & Bot Developers

This page outlines the minimal steps to integrate with Flap for wallets, terminals and bots. Each step links to the detailed documentation.

1. **Find the `Portal` entrypoint.** Our main protocol has a single entrypoint contract called `Portal`. Use the deployed addresses listed in [Deployed Contract Addresses](/flap/developers/wallet-and-terminal-and-bot-developers/deployed-contract-addresses.md).
2. **Index tokens (recommended).** To index tokens launched on Flap, listen to `TokenCreated` and related events emitted by `Portal`. See [Index Token Created Events](/flap/developers/wallet-and-terminal-and-bot-developers/index-token-created-events.md) for the full event list and indexing strategy. The `TokenCreated` event only contains the IPFS CID of the metadata. To parse token metadata, follow [Parse Token Meta](/flap/developers/wallet-and-terminal-and-bot-developers/parse-token-meta.md).
3. **Skip indexing and query on demand (alternative).** If you do not want to index, you can query token info directly from `Portal` with the `getTokenV*` methods. See [Inspect A Token](/flap/developers/wallet-and-terminal-and-bot-developers/inspect-a-token.md) for details.
4. **Tax tokens: query dynamic info on-chain.** Tax tokens have dynamic fields (e.g., accumulated stats) that are best retrieved on-chain. Use the Tax Token Helper as described in [Inspect A Tax Token](/flap/developers/wallet-and-terminal-and-bot-developers/inspect-a-tax-token.md). For vault-specific data, see [how to inspect a tax token's vault](/flap/developers/wallet-and-terminal-and-bot-developers/inspect-a-tax-token.md#how-to-inspect-a-tax-tokens-vault).
5. **Trade tokens.** You can quote on-chain using `quoteExactInput`, or compute quotes off-chain and submit swaps using `swapExactInput`. See [Trade Tokens](/flap/developers/wallet-and-terminal-and-bot-developers/trade-tokens.md) for details.


---

# Agent Instructions: 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:

```
GET https://docs.flap.sh/flap/developers/wallet-and-terminal-and-bot-developers/a-quick-start-for-wallet-terminal-bot-developers.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
