# Add Cal.com to your app

> Add a \"Continue with Cal.com\" button with Cal.com's OAuth client, act on your users' bookings through API v2, and list your app in the Cal.com App Store.

One button connects your users' Cal.com accounts. Your app then reads their availability and books on their behalf through API v2, with only the scopes they allow. Built it? List it in the Cal.com App Store.

[Create an OAuth client](https://app.cal.com/settings/developer/oauth) · [Read the OAuth docs](https://cal.com/docs/api-reference/v2/oauth)

Trusted by fast-growing companies around the world

## Continue with Cal.com

The official buttons, served from app.cal.com. Check each one on a light or a dark background, copy it as HTML, React, Markdown or its URL, then put in your client ID and redirect URI.

### From the button to a booking

Standard OAuth 2.0 with the authorization code flow. The button sends people to Cal.com, they choose what your app may do, and you trade the code for tokens.

## Three steps to the App Store

The OAuth client connects your app to people's accounts. The App Store listing is how Cal.com users find it.

### Create an OAuth client

In [Settings → Developer → OAuth](https://app.cal.com/settings/developer/oauth), name your app, pick at least one scope and add your redirect URIs. The client starts as pending; Cal.com reviews it and emails you when it is accepted.

### Add the button

Put a [Continue with Cal.com](#buttons) button where your users connect tools. It opens Cal.com's consent screen, and your callback trades the code for tokens.

### List it in the App Store

Cal.com is open source: create your app's listing in `packages/app-store` with `yarn create-app`, then open a pull request on [calcom/cal.com](https://github.com/calcom/cal.com). [The guide](https://cal.com/docs/developing/guides/appstore-and-integration/build-an-app) walks through it.

## Ask only for what your app needs

People see every scope on the consent screen before they allow it, and a token can only reach the endpoints its scopes cover.

### User

A person's own account: `BOOKING_*`, `EVENT_TYPE_*`, `SCHEDULE_*`, `APPS_*`, `PROFILE_*`, `WEBHOOK_*` and `INSIGHTS_READ`.

### Team

The teams they belong to, with the `TEAM_*` scopes: team scheduling links, bookings, schedules and memberships.

### Organization

Organization-wide access with the `ORG_*` scopes. Each one grants the matching `TEAM_*` scope too.

## You need white-label scheduling inside your app?

Use coss.com Scheduling, made by the team of Cal.com. The infrastructure that's powering millions of bookings, under your brand and for your own users.

## Questions about building on Cal.com

The short ones are here. For anything else, ask below.

### Who approves my OAuth client?

A new client is pending until Cal.com reviews it. You get an email with the result, and once it is accepted the client is ready to use.

### My app runs in a browser or on a phone. Can it keep a secret?

It doesn't have to. Register it as a public client and use PKCE: send a `code_challenge` (S256) when you authorize and the `code_verifier` when you trade the code. No client secret is involved.

### How long do tokens last?

Access tokens expire after 30 minutes. Use the refresh token to get a new one without sending the person back through the consent screen.

### OAuth or an API key?

An API key is for your own Cal.com account. OAuth is for acting on other people's accounts, with their consent and only the scopes they allow.

### How do I get my app into the Cal.com App Store?

Build its listing in the open-source repo with `yarn create-app` under `packages/app-store`, then open a pull request on [calcom/cal.com](https://github.com/calcom/cal.com). Questions go to [GitHub Discussions](https://github.com/calcom/cal.com/discussions).

### I want scheduling inside my own product, for my own users.

That's [coss.com Scheduling](https://coss.com/products/scheduling), white-label scheduling infrastructure made by the team of Cal.com.

### What happened to Atoms?

Cal.com Atoms are in maintenance mode: existing integrations keep getting fixes and new npm versions, but there will be no new atoms. The [Atoms docs](https://cal.com/docs/atoms/introduction) stay up.

## Connect your app to Cal.com

Create an OAuth client, add the button, and put your app in front of every Cal.com user.

---

HTML version: https://cal.com/integrate
