> For the complete documentation index, see [llms.txt](https://darksun-2.gitbook.io/darksun-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://darksun-2.gitbook.io/darksun-docs/integrations/quickstart.md). Agents can also search and read this documentation through its [MCP server](https://darksun-2.gitbook.io/darksun-docs/~gitbook/mcp).

# Quickstart

This guide shows the fastest path to making a protocol compatible with DarkSun.

## Step 1: Identify your primary domain

Choose the domain that best matches your product:

* blockchain
* staking
* liquidity / DEX
* farming
* NFT

You can support more than one domain over time, but start with the one that delivers the highest value to DarkSun first.

## Step 2: Prepare a DarkSun manifest

At minimum, your manifest should define:

* `manifestVersion`
* `id`
* `name`
* `type`
* `owner`
* `chain`
* `endpoints`
* `capabilities`
* `auth`
* `verification`

Read [Manifest v1](https://darksun-2.gitbook.io/darksun-docs/integrations/manifest-v1.md) before implementing your first version. Before submitting the integration, review the [Validation Checklist](https://darksun-2.gitbook.io/darksun-docs/integrations/validation-checklist.md).

## Step 3: Map each capability to a real endpoint

Examples:

* `validators` -> validator registry
* `validator_metrics` -> validator metrics API
* `liquidity_positions` -> wallet positions indexer
* `farm_catalog` -> farms registry
* `nft_positions` -> NFT indexer

DarkSun does not just need an endpoint. It needs to know what business function that endpoint serves.

## Step 4: Respect the capability contract

Some capabilities require a minimum `output` contract.

Examples:

* `liquidity_positions` requires `output.collection`
* `validators` requires `output.collection`
* `validator_metrics` requires `output.entityKey`
* `nft_positions` requires `output.collection`

Read [Capabilities](https://darksun-2.gitbook.io/darksun-docs/integrations/manifest-v1/capabilities.md) for the current validation rules.

## Step 5: Publish and test

Once the manifest and endpoints are available, DarkSun can:

* load the manifest
* validate its structure
* resolve the declared endpoints
* map the integration into the appropriate DarkSun domain flow

If you are operating DarkSun itself rather than publishing a third-party integration, also read the [DarkSun Operator Guide](https://darksun-2.gitbook.io/darksun-docs/integrations/darksun-operator-guide.md).

## Step 6: Decide ownership

There are two valid paths:

1. Third-party owned integration Your team owns the manifest and the endpoint.
2. DarkSun-managed bootstrap integration DarkSun temporarily maintains the manifest and adapter while the ecosystem matures.

## Practical recommendation

If you are integrating for the first time, aim for:

* one manifest
* one primary domain
* one or two capabilities
* stable public endpoints

That is enough to validate the workflow before expanding to more capabilities.
