# Cal.com

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

URL: https://docs.flutterflow.io/ffx/cal-com

Connect Cal.com by signing in or with an API key, and then ask the agent to let people book your event types from your app.

Use Cal.com to take bookings in your app: your app lists your Cal.com event types, finds an event type's open times, and books a time for the person using it. The agent builds booking for the signed-in person and uses their name and email, so add [sign-in](https://docs.flutterflow.io/ffx/add-sign-in) to your app first.

## Connect Cal.com {#connect-cal-com}

You can connect Cal.com by signing in to your Cal.com account or with a Cal.com API key:

1. Open **Project Settings › Connections**, and then click **Cal.com**.
2. Choose how to connect:
   - To sign in, click **Sign in with Cal.com**, and then sign in to Cal.com in the new tab.
   - To use a key, click **Paste an API key**, paste your key into **API key**, and then click **Connect**. You create keys in Cal.com under **Settings › Developer › API Keys**, and **Find it** opens that page.

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

## What to ask

Ask the agent for the booking flow, and say which event types people can book:

> Example request: "Add a booking screen for my consultations. Show my Cal.com event types, let the signed-in person pick one and see its open times for the next two weeks in their time zone, and then book the time they choose."

> Example request: "On the services screen, show my Cal.com event types and how long each one is, with a Book button that only signed-in people see."

> Example request: "List my Cal.com event types with their lengths."

## Agent questions {#agent-questions}

If Cal.com isn't connected, the agent shows a card that asks you to connect it. See [Answer the agent](https://docs.flutterflow.io/ffx/answer-the-agent).

## Review {#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**.

Book a time in **Preview** while you're signed in, and then check that the booking appears in Cal.com. If the event type requires confirmation, the booking stays pending until the host confirms it, so check that your app doesn't show it as booked.

## Push {#push}

After you test the booking flow, [push the changes to your app](https://docs.flutterflow.io/ffx/push).

## Chat connections {#chat-connections}

The Cal.com service in **Account › Chat connections** is separate from your app's Cal.com connection. It connects your own Cal.com account for the agent to use in threads that you start, and your app never uses it. See [Tools for the agent](https://docs.flutterflow.io/ffx/agent-tools).

## Next steps {#next-steps}

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

## Troubleshooting {#troubleshooting}

If you can't connect Cal.com, a key is refused, or a connection needs attention, see [Troubleshoot connections](https://docs.flutterflow.io/ffx/troubleshoot-connections).
