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

> ## Agent Instructions
> SolvaPay quick facts:
> - REST API base URL: https://api.solvapay.com. All public endpoints are under /v1/sdk/ (for example GET https://api.solvapay.com/v1/sdk/products). Sandbox and production share this URL.
> - Auth: send a secret key as `Authorization: Bearer <secret key>` (the REST API also accepts `X-API-Key: <secret key>`).
> - Secret key prefixes: `sk_sandbox_` (sandbox, test payments) and `sk_live_` (production). The prefix selects the environment.
> - Get keys in SolvaPay Console (https://app.solvapay.com) > Developers > API Keys. Use a sandbox key while building.
> - Admin MCP Server: https://mcp.solvapay.com/mcp (Streamable HTTP). Connect with OAuth: add the URL and sign in with the SolvaPay account; no API key needed. OAuth sessions use the live account; for sandbox data or headless clients, send `Authorization: Bearer <secret key>` (X-API-Key is ignored).
> - Install the SolvaPay agent skills: `npx skills add https://solvapay.com` (skills CLI older than 1.5.7: `npx skills add solvapay/skills`).
> - TypeScript SDK setup: `npx solvapay@latest init`. The SDK reads SOLVAPAY_SECRET_KEY and defaults to https://api.solvapay.com.
> - Plans take an options[] array (billingCycle, charge, limit, ...). Retired plan fields price, freeUnits and billingCycle are rejected.
> - Step-by-step from zero to a first paid call: Managed MCP https://docs.solvapay.com/build/managed-mcp.md, TypeScript SDK https://docs.solvapay.com/build/typescript-sdk.md, agent skill https://docs.solvapay.com/build/agent-skill.md.
> - Details: https://docs.solvapay.com/api-reference/authentication.md. OpenAPI spec: https://docs.solvapay.com/api-reference/openapi.json.

# Create a product

> Create a product to monetize your API, MCP server, or AI-powered service.

Use this page for Console product configuration.

For TypeScript SDK integration, the fastest project setup is
[`npx solvapay@latest init`](https://docs.solvapay.com/sdks/typescript/setup/cli). You still need a product and plans in Console.

Products are the core unit in SolvaPay. Each product represents a service you want to monetize.
Plans (pricing options) are created inside each product.

During new provider onboarding, this is the guided first action after you submit company details.

## Prerequisites

* A SolvaPay provider account — [create one here](https://docs.solvapay.com/get-started/create-account.md) if you haven't

You do not need to create plans beforehand. Pricing plans are configured inside this product flow.

## Step 1: Product details

Go to **Products** in the sidebar and click **Create product**.

Fill in:

* **Name** — a human-readable product name (e.g. "Code Review API")
* **Description** — what the product does
* **Image** (optional) — a product icon or logo

## Step 2: Pricing

Add one or more pricing options (plans) for this product.
Click **Add pricing option** to create each plan inline.

Pick a template to seed the plan, then compose the options you need:

* **Price** and **currency** (flat, per-request, or per-seat)
* **Billing cycle** when the plan renews
* **Meter** and **included** usage for metered plans
* **Benefits** (optional) — feature flags on the plan

Templates (Recurring, Usage-based, One-time, Hybrid, Blank) only start the `options[]` list. They are not stored types. See [Plans](https://docs.solvapay.com/plans/overview.md) for compositions that derive those labels.

After adding your pricing options, you can either click **Create product** to finish, or continue to the optional integration step.

## Step 3: Integration (Optional)

Choose how customers will access your product:

* **SDK integration** — use the SolvaPay SDK to protect your endpoints with paywall logic
* **Managed MCP** — SolvaPay proxies and paywalls your MCP server with zero code changes

If you skip this step, your product defaults to SDK integration mode.

## Result

After creation, your product is active and visible on the product detail page. From there you can:

* Copy the product reference (`prd_...`) and plan references (`pln_...`) for SDK integration
* View and manage plans
* Configure or change the integration mode
* Track purchases and usage

## What to do next

* [TypeScript SDK CLI setup](https://docs.solvapay.com/sdks/typescript/setup/cli.md) — fastest setup for TypeScript projects
* [SDK quick start](https://docs.solvapay.com/sdks/typescript/setup/quick-start.md) — protect your first endpoint
* [Test in sandbox](https://docs.solvapay.com/get-started/test-in-sandbox.md) — validate purchases and usage before go-live
* [Plans](https://docs.solvapay.com/plans/overview.md) — compose pricing from options


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