---
title: "HubSpot"
---
### Obtaining HubSpot Client ID and Secret

<Steps>
    <Step title="Sign into HubSpot Developer">
        Go to [HubSpot Developer](https://developer.hubspot.com/) and sign into your account, or create a new one.
    </Step>
    <Step title="Navigate to Manage Apps">
        From the Developer account home page, go to "Manage apps".
    </Step>
    <Step title="Create a new app">
        Click the "Create app" button located at the top right corner of the page.
    </Step>
    <Step title="Fill in App Information">
        In the "App info" tab, fill in any information you want for your app.
    </Step>
    <Step title="Go to the Auth tab">
        Navigate to the "Auth" tab to set up authentication for the app.
    </Step>
    <Step title="Copy Client ID and Client Secret">
        Copy the Client ID and Client Secret and add them to your `.env` file under the fields:
        ```
        HUBSPOT_CLIENT_ID
        HUBSPOT_CLIENT_SECRET
        ```
    </Step>
    <Step title="Set the Redirect URL for OAuth">
        Set the Redirect URL for OAuth to:
        ```
        <Cal.com URL>/api/integrations/hubspot/callback
        ```
        Replace `<Cal.com URL>` with the URL where your application is hosted.
    </Step>
    <Step title="Select Required Scopes">
        In the "Scopes" section, select "Read" and "Write" for the scope called `crm.objects.contacts`.
    </Step>
    <Step title="Save the Application">
        Click the "Save" button at the bottom of the page.
    </Step>
    <Step title="Complete HubSpot Integration">
        You’re all set! Any booking in Cal.com will now be created as a meeting in HubSpot for your contacts.
    </Step>
</Steps>
