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

# StateSet UCP Quickstart

> Run the UCP handler and verify discovery and checkout flows.

# StateSet UCP Quickstart

This quickstart helps you run the UCP handler locally and verify the discovery endpoint.

## 1) Run the server

```bash theme={null}
git clone https://github.com/stateset/stateset-ucp-handler.git
cd stateset-ucp-handler
```

```bash theme={null}
cd stateset-ucp-handler
cargo run
```

By default the server listens on `http://0.0.0.0:8081`.

## 2) Verify discovery

UCP exposes discovery at `/.well-known/ucp`:

```bash theme={null}
curl http://localhost:8081/.well-known/ucp
```

## 3) Create a checkout session

Refer to the handler README for full request/response examples and optional extensions:

* [UCP Handler README](/stateset-ucp-handler/README)

## Next Steps

* [UCP Integration Guide](/guides/universal-commerce-protocol-handler)
