# Set it up, or move it across

Step-by-step guides for running Pug: set up self-hosted analytics on your own infrastructure, or migrate an existing Heap install across.

Source: https://pug.sh/guides

Practical, ordered walkthroughs for the two jobs that take longest: standing Pug up on your own infrastructure, and getting off the tool you're on today. Exact commands live in the docs and stay current with each release.

- [Set up self-hosted analytics](https://pug.sh/guides/self-hosted-analytics-setup): Provision Postgres, ClickHouse, NATS, and Dragonfly, deploy the Go binary, install an SDK, and verify events in Live.
- [Migrate from Heap to Pug](https://pug.sh/guides/migrate-from-heap-to-pug): Inventory the Heap reports you rely on, stand Pug up alongside it, dual-run the cutover, then rebuild your insights.

* [Why self-host](https://pug.sh/self-hosted-analytics)
* [How the pipeline works](https://pug.sh/platform)
* [Browse the SDKs](https://pug.sh/sdks)
