> ## Documentation Index
> Fetch the complete documentation index at: https://nango.dev/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# YouCanBookMe (Public)

> Integrate your application with the unauthenticated YouCanBookMe booking API

## 🚀 Quickstart

Connect to YouCanBookMe's public booking API with Nango — no credentials required beyond your booking page's subdomain.

<Steps>
  <Step title="Create the integration">
    In Nango ([free signup](https://app.nango.dev)), go to [Integrations](https://app.nango.dev/dev/integrations) -> *Configure New Integration* -> *YouCanBookMe (Public)*.
  </Step>

  <Step title="Authorize YouCanBookMe (Public)">
    Go to [Connections](https://app.nango.dev/dev/connections) -> *Add Test Connection* -> *Authorize*, then enter your booking page subdomain. Later, you'll let your users do the same directly from your app.
  </Step>

  <Step title="Call the YouCanBookMe API">
    Let's make your first request to the YouCanBookMe API (create a booking intent). Replace the placeholders below with your [Environment API key](/docs/reference/backend/http-api/api-keys), [integration ID](https://app.nango.dev/dev/integrations), [connection ID](https://app.nango.dev/dev/connections), and your subdomain:

    <Tabs>
      <Tab title="cURL">
        ```bash theme={null}
        curl "https://api.nango.dev/proxy/v1/intents" \
          -X POST \
          -H "Authorization: Bearer <NANGO-API-KEY>" \
          -H "Provider-Config-Key: <INTEGRATION-ID>" \
          -H "Connection-Id: <CONNECTION-ID>" \
          -H "Content-Type: application/json" \
          -d '{
            "subdomain": "<YOUR-SUBDOMAIN>"
          }'
        ```
      </Tab>

      <Tab title="Node">
        Install Nango's backend SDK with `npm i @nangohq/node`. Then run:

        ```typescript theme={null}
        import { Nango } from '@nangohq/node';

        const nango = new Nango({ apiKey: '<NANGO-API-KEY>' });

        const res = await nango.post({
            endpoint: '/v1/intents',
            providerConfigKey: '<INTEGRATION-ID>',
            connectionId: '<CONNECTION-ID>',
            data: {
                subdomain: '<YOUR-SUBDOMAIN>'
            }
        });

        console.log(res.data);
        ```
      </Tab>
    </Tabs>

    Or fetch the connection's subdomain with the [Node SDK](/docs/reference/sdks/node#get-a-connection-with-credentials) or [API](/docs/reference/api/connection/get).

    ✅ You're connected! Check the [Logs](https://app.nango.dev/dev/logs) tab in Nango to inspect requests.
  </Step>

  <Step title="Implement Nango in your app">
    Follow our [Auth implementation guide](/docs/guides/primitives/auth) to integrate Nango in your app.
  </Step>
</Steps>

## 📚 YouCanBookMe (Public) integration guides

Nango-maintained guides for common use cases.

* [How do I link my account?](/docs/api-integrations/youcanbook-me-public/connect)
  Finding your booking page subdomain

Official docs: [YouCanBookMe API docs](https://developer.youcanbook.me/)

## 🧩 Pre-built syncs & actions for YouCanBookMe (Public)

Enable them in your dashboard. Extend and customize to fit your needs.

### Others

| Function name                      | Description                                                                                                                      | Type                                         | Source code                                                                                                                                           |
| ---------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- |
| `create-booking-intent`            | Start a new booking session (intent) against a YouCanBook.me booking page, scoped by subdomain.                                  | [Action](/docs/guides/functions/action-functions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/youcanbook-me-public/actions/create-booking-intent.ts)            |
| `get-availability-key`             | Get a short-lived key representing the searchable availability window for a booking intent, to be passed to get-available-slots. | [Action](/docs/guides/functions/action-functions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/youcanbook-me-public/actions/get-availability-key.ts)             |
| `get-available-slots`              | Get the list of open time slots for a booking intent's search window.                                                            | [Action](/docs/guides/functions/action-functions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/youcanbook-me-public/actions/get-available-slots.ts)              |
| `get-booking-intent`               | Get the current state of a booking intent (selections made so far, status, resulting bookingId once confirmed).                  | [Action](/docs/guides/functions/action-functions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/youcanbook-me-public/actions/get-booking-intent.ts)               |
| `update-booking-intent-selections` | Set the chosen time slot, contact/form details, timezone, and other booking options on an in-progress intent                     | [Action](/docs/guides/functions/action-functions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/youcanbook-me-public/actions/update-booking-intent-selections.ts) |

## API gotchas

* **There is no authentication for this API** — the booking-intent endpoints (availability, booking, cancellation, rescheduling) are public. For the authenticated/admin side of the API (e.g. `/v1/profiles`), use the separate [YouCanBookMe](/docs/api-integrations/youcanbook-me) integration, which uses Basic auth (Account ID + API key).

***
