# Calendly

> This page is about FlutterFlow (the app builder you use by describing your app), not FlutterFlow Studio.

URL: https://docs.flutterflow.io/ffx/calendly

Connect Calendly, then ask the agent to show your event types, make one-time booking links, and list bookings in your app.

Use Calendly to take bookings in your app. To connect, you sign in with Calendly or paste a Calendly personal access token.

## Connect Calendly {#connect-calendly}

To connect with a token, first create a personal access token in Calendly under **Integrations › API and webhooks**, with the scopes `users:read`, `event_types:read`, `scheduling_links:write`, and `scheduled_events:read`. Calendly shows the token only once.

Only a project owner can connect Calendly. If you're a project owner, connect Calendly to your app:

1. Open **Project Settings › Connections**, and then turn on the **Calendly** switch.
2. Choose how to connect:
   - **Sign in with Calendly**: sign in to Calendly in the new tab that opens.
   - **Paste a personal access token**: paste the token into **Personal access token**, and then click **Connect**.

For more about connecting, see [Connect a service](https://docs.flutterflow.io/ffx/connect-a-service).

The Calendly service in **Account › Chat connections** is separate. It connects your own Calendly account for the agent to use in threads that you start, and your app doesn't use it. For more information, see [Tools for the agent](https://docs.flutterflow.io/ffx/agent-tools).

## What to ask

With Calendly connected, your app can list your active event types with their booking pages, make a one-time booking link for an event type, and list your scheduled events. People book on Calendly's own page, which your app opens.

> Example request: "Add a Book a visit screen that lists my Calendly event types and opens the booking page for the one a person picks."

> Example request: "When someone requests a consultation, give them a one-time Calendly link for my 30-minute call, so one shared link can't fill my calendar."

> Example request: "Add a My bookings screen that shows the signed-in person's upcoming Calendly bookings."

A one-time link books one event and then stops working.

## Agent questions

If Calendly isn't connected, the agent asks you to connect it in a card above the message box. See [Connect when the agent asks](https://docs.flutterflow.io/ffx/connect-a-service#connect-when-the-agent-asks).

## Review

After the agent finishes, read the turn's [**Summary**](https://docs.flutterflow.io/ffx/what-changed#summary) and review its [**Changes**](https://docs.flutterflow.io/ffx/what-changed#changes-tab). Check the affected screens in **Screens**, and try the change in **Preview**. If the change uses records or sign-in, test it with [the thread's own data in **Data**](https://docs.flutterflow.io/ffx/thread-data).

After you push a backend change, check the result in **Backend**.

Your app gets bookings by reading them back from Calendly. To check a booking screen, book a test event on Calendly's booking page.

## Call limit {#call-limit}

Your app and the agent share a limit of 25 calls a minute to Calendly through your app's connection. See [Limits](https://docs.flutterflow.io/ffx/limits#connections).

## Push

When the result is ready, [push the changes to your app](https://docs.flutterflow.io/ffx/push).

## Next steps

- To replace the token or disconnect Calendly, see [Manage connections](https://docs.flutterflow.io/ffx/manage-connections).

## Troubleshooting

- **Calendly refuses a call because the token is missing a scope:** create a token with the four scopes, click Calendly's menu in **Project Settings › Connections**, and then select **Replace personal access token**. Only a project owner can replace the token.
- For a token that's refused or a connection that needs attention, see [Troubleshoot connections](https://docs.flutterflow.io/ffx/troubleshoot-connections).
