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

# Sell access with one gate

> Publish a free or paid access rule, add one component, and confirm the result on your server.

One listing holds the checks, the price, and hosted sign-in. Your app embeds the listing and checks the outcome server-side, and visitors need no API key.

## Build it

**1. Publish a listing**

Sign in at [proofable.me](https://proofable.me) and [create a listing](https://proofable.me/profile/listings/new). Choose what to verify, set a price or keep it free, and publish. Copy your `gateId`. Buyers can also reach listed offers from the Marketplace tab in the [Proofable app](https://proofable.me/profile?tab=marketplace).

**2. Add VerifyGate**

```jsx theme={"system"}
import { VerifyGate } from '@proofable/sdk/widgets';

<VerifyGate gateId="gate_your-app-name">
  <ProtectedContent />
</VerifyGate>;
```

`VerifyGate` reuses a saved proof, or opens hosted sign-in on Proofable when a new one is needed. Wallet, passkey, and OAuth steps all run on Proofable.

**3. Confirm on your server**

Pass the visitor's account address from Proofable sign-in or the saved result:

```js theme={"system"}
import { ProofableClient } from '@proofable/sdk';

const client = new ProofableClient();
const result = await client.gateCheck({
  gateId: 'gate_your-app-name',
  address: user.accountAddress,
});

if (!result.data?.gate?.allRequiredSatisfied) {
  // Send the visitor back to VerifyGate or Proofable sign-in
}
```

The visitor's proof is theirs. When they return, or reach another listing that needs the same checks, they reuse it.

You choose who pays. Your credits cover free access, or turn on visitor checkout and set a price. [Pricing](https://docs.proofable.me/pricing.md) covers card, USDC, and pay-per-call options.

## Show proof status

```jsx theme={"system"}
import { ProofBadge } from '@proofable/sdk/widgets';

<ProofBadge qHash={proof.qHash} />;
```

Pass `showChains` only when onchain status matters in your interface.

## Not using React

Send visitors to Proofable instead:

```js theme={"system"}
import { getHostedCheckoutUrl } from '@proofable/sdk';

window.location.assign(
  getHostedCheckoutUrl({
    gateId: 'gate_your-app-name',
    returnUrl: 'https://app.example.com/auth/callback',
  }),
);
```

Read the proof ID (`qHash`) from the callback URL or popup message, then store it. Callback details are in [Hosted verification](https://docs.proofable.me/verification/hosted.md).

## Next

> [card] [VerifyGate](https://docs.proofable.me/widgets/verifygate.md)
>
> Props, strategies, and hosted OAuth.

> [card] [Gate checkout](https://docs.proofable.me/gates/checkout.md)
>
> The full checkout contract.

> [card] [Server integrations](https://docs.proofable.me/integrations/server.md)
>
> Create proofs from your backend.

> [card] [Gates](https://docs.proofable.me/gates.md)
>
> Everything a gate can hold and enforce.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.