# One Click Setup



The One Click Setup automatically creates HubSpot forms (both complete and partial) and starts sending form submissions to HubSpot.

## Step 1: Authenticate with HubSpot [#step-1-authenticate-with-hubspot]

<Frame>
  <img src="/images/hubspot/one-click-setup/1.png" alt="HubSpot authentication in form settings" />
</Frame>

1. Go to **Form Settings** → **HubSpot**
2. Click on **Connect HubSpot** if you're not already authenticated
3. Follow the on-screen instructions to authenticate
4. Select your HubSpot organization when prompted
5. Accept the necessary permissions to complete the connection

## Step 2: Add Surface Domain to HubSpot [#step-2-add-surface-domain-to-hubspot]

<Frame>
  <img src="/images/hubspot/add-domain/1.png" alt="HubSpot Additional Site Domains settings" />
</Frame>

<p>
  To enable proper tracking and form submissions, add Surface's domain to your HubSpot account:
</p>

<ol>
  <li>
    In your HubSpot account, navigate to 

    <strong>Settings</strong>

     → 

    <strong>Tracking & Analytics</strong>

     → 

    <strong>Tracking Code</strong>
  </li>

  <li>
    Click on the 

    <strong>Advanced Tracking</strong>

     tab
  </li>

  <li>
    Under 

    <strong>Additional site domains</strong>

    , click 

    <strong>+ Add domain</strong>
  </li>

  <li>
    Enter 

    <code>forms.withsurface.com</code>
  </li>

  <li>
    Click 

    <strong>Save</strong>
  </li>
</ol>

## Step 3: Enable HubSpot Sync [#step-3-enable-hubspot-sync]

<Frame>
  <img src="/images/hubspot/one-click-setup/2.png" alt="Enable HubSpot Sync toggle" />
</Frame>

1. Under **HubSpot Connection**, toggle on **Enable HubSpot Sync**
2. Surface will automatically:
   * Create a form in HubSpot for finished submissions
   * Create a form in HubSpot for incomplete submissions
   * Start syncing form submissions to HubSpot

## What Happens Next? [#what-happens-next]

Once enabled, Surface will:

* **Automatically create forms** in your HubSpot account
* **Sync complete submissions** to the complete form
* **Sync partial submissions** to the partial form
* **Handle field mapping** automatically

## Next Steps [#next-steps]

* [HubSpot Tracking](/guides/hubspot-forms/configure-tracking) - Configure HubSpot tracking to properly track UTMs, first landing page, and lead sources
