> For the complete documentation index, see [llms.txt](https://docs.poppin.so/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.poppin.so/how-it-works.md).

# How It Works

You don't pick the markets. We do.

Poppin reads the content of each page — the topic, the names, what it's about — and brings up a prediction market that fits. A page about an election surfaces an election market. A page about a game surfaces a market on the game. It happens automatically, on every page, with no work from you.

You choose the **venue** (Polymarket, Kalshi, or Hyperliquid). We handle matching the right market to the right page.

Your users read the page, see the market, and tap Yes or No to trade — all without leaving your site.


---

# 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.poppin.so/how-it-works.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.
