# Auth.md

You are an agent acting on behalf of a Lasso customer. This document explains how to authenticate with the Lasso API.

## No automated agent registration

Lasso does **not** support programmatic agent registration today. There is no ID-JAG flow, anonymous self-registration, OTP claim ceremony, or `/agent/auth` endpoint.

Credentials are provisioned by a human through the Lasso web app. Your job is to guide the human through that flow and then use the API key they provide.

## How to get credentials

Relay these steps to the human user:

1. Open the onboarding URL and complete sign-up: https://app.productlasso.com/onboarding/product_extraction
2. Finish setup in the Lasso app dashboard.
3. Create or copy an API key from the app settings.
4. Provide the API key to you (the agent) securely.

If the team does not yet have access, they can request beta access at:

- https://productlasso.com/en/api/waitlist

## Using the API key

Present the key as a Bearer token on every request to the Lasso API:

```http
GET https://app.productlasso.com/api/v1/example
Authorization: Bearer <api_key>
```

The MCP server uses the same credential model:

- Endpoint: https://app.productlasso.com/api/v1/mcp
- Scheme: Bearer (API key)

Store the key securely. Do not commit it to source control or log it.

## Scopes

The API supports these scopes:

- `api.read` — read catalog and enrichment data
- `api.write` — create and update catalog data

Scope assignment is managed in the Lasso app when the human creates the API key.

## Discovery

Machine-readable metadata for this service:

- Protected Resource Metadata: https://productlasso.com/.well-known/oauth-protected-resource
- Authorization Server metadata: https://productlasso.com/.well-known/oauth-authorization-server
- OpenID Connect discovery: https://productlasso.com/.well-known/openid-configuration

## Documentation

- API reference: https://productlasso.com/docs
- Marketing site: https://productlasso.com

## Legal and contact

- Terms of service: https://productlasso.com/en/terms-of-service
- Privacy policy: https://productlasso.com/en/privacy-policy
- Integration questions: jiri@banditshq.com
