# Quickstart (provider)

## 1. Authenticate with provider scope

Email-verified signup (or login) elevates your key to include `provider:write`.

```bash
npx @ozma_app/cli login
```

## 2. Import OpenAPI

```bash
npx @ozma_app/cli publish ./openapi.yaml
# or
npx @ozma_app/cli provider create https://example.com/openapi.json
```

## 3. Credentials → verify → pricing

```bash
npx @ozma_app/cli provider credentials <apiId> --secret "sk_upstream" --injection header --injection-name "X-Api-Key"
npx @ozma_app/cli provider verify <apiId>
npx @ozma_app/cli provider pricing <apiId> --endpoint-id <endpointId> --price-cents 5
```

## 4. Stripe Connect (paid APIs)

```bash
npx @ozma_app/cli provider connect
```

Complete Express KYC in the browser.

## 5. Publish

```bash
npx @ozma_app/cli provider publish <apiId> --accept-terms
```

Optional: publish provider-authored API terms with `ozma provider documents …` (see [Publish & verify](/docs/guides/publish-api)).

## 6. Build trust with a public profile

```bash
npx @ozma_app/cli profile update --bio "We ship weather data" --website https://example.com --public
```

Or use [Dashboard → Profile](https://ozma.app/dashboard/profile).

## Next

- [Publish & verify](/docs/guides/publish-api)
- [Provider profiles & trust](/docs/guides/provider-profiles)
