---
title: "Setup Web & Mobile SDK connection"
description: "App surveys deliver 6–10x higher conversion rates compared to email surveys. If you are new to Formbricks, follow the steps in this guide to launch a survey in your web or mobile app (React Native) within 10–15 minutes."
icon: "rocket"
sidebarTitle: "SDK Setup"
---

<Steps>
  <Step title="Create a free Formbricks Cloud account">
    While you can [self-host](/self-hosting/overview) Formbricks, the quickest and easiest way to get started is with the free Cloud plan. Just [sign up here](https://app.formbricks.com/auth/signup) and click through the onboarding.
  </Step>

  <Step title="Open Web & Mobile SDK">
    In your workspace, go to **Settings** and open **Web & Mobile SDK** under **Workspace**. **Workspace details** holds the two values the SDK needs — your **Workspace ID** and your **SDK Connection URL** — and the **Connection status** card tells you whether Formbricks has heard from your app yet.

    ![The Web & Mobile SDK settings page with a grey Connection status card reading "Formbricks SDK is not yet connected", the Workspace details card and the How to install card](/images/surveys/website-app-surveys/quickstart/web-and-mobile-sdk.webp)

    <Note>
      Not the person who will add the SDK? The banner at the top of the page invites a technical team member into the organization so they can do this step for you.
    </Note>
  </Step>

  <Step title="Add the Formbricks SDK to your app">
    Under **How to install**, expand the method that matches your stack:

    | Method | Covers |
    | :--- | :--- |
    | **Website** | HTML, React.js, Next.js, Vue.js |
    | **Mobile** | React Native, Swift, Android, Flutter |
    | **Google Tag Manager** | Any website, without touching its code |
    | **WordPress** | WordPress sites, via the official plugin |

    Each method gives you a handful of numbered steps and a snippet that already carries your Workspace ID and SDK Connection URL, so there is nothing left to fill in. For plain HTML, paste the snippet into the `<head>` of every page of your website.

    ![The How to install card with the Website method expanded, showing the HTML, React.js, Next.js and Vue.js tabs and the pre-filled HTML snippet](/images/surveys/website-app-surveys/quickstart/how-to-install.webp)

    Each method also links out to its full guide: the [framework guides](/surveys/website-app-surveys/framework-guides) for code, [Google Tag Manager](/surveys/website-app-surveys/google-tag-manager) and [WordPress](/platform/features/integrations/wordpress) for the no-code routes.
  </Step>

  <Step title="Confirm the connection">
    Open the website or launch the app you added the SDK to, then come back to **Web & Mobile SDK** and hit **Re-check**. Once Formbricks has the first data point, the **Connection status** card turns green:

    ![The Connection status card, green, reading "Receiving data" and "Formbricks SDK is connected"](/images/surveys/website-app-surveys/quickstart/connection-status.webp)

    <Note>
      Still grey? The card only re-reads the status on **Re-check** or a page reload, so give the SDK a moment and check again. If it stays grey on the web, turn on [Debug Mode](/surveys/website-app-surveys/framework-guides#activate-debug-mode) and read your browser console. On mobile, check your platform's log output instead — the Xcode console, Logcat, or your Metro or Flutter console.
    </Note>
  </Step>

  <Step title="Create your first survey">
    Head back to **Surveys**, click **New Survey** and pick a template. Then open the **Settings** tab of the editor and set **Survey Type** to **Website & App Survey** — that is what makes the survey run inside your app instead of on a shareable link.

    ![The Survey Type section of the survey settings, with Website & App Survey selected](/images/surveys/website-app-surveys/quickstart/survey-type.webp)
  </Step>

  <Step title="Create trigger to show survey">
    Still in the **Settings** tab, scroll to **Survey Trigger** and click **Add action**. On the **Capture new action** tab, name the action, choose **Page View** and click **Create action**. The survey now appears whenever the Formbricks widget detects a page load.

    ![The Add action dialog on the Capture new action tab, with the No code action type and Page View selected](/images/surveys/website-app-surveys/quickstart/page-view-action.webp)
  </Step>

  <Step title="Set Recontact Options right">
    A common hiccup is users seeing one survey but it doesn't appear again. This is due to the default settings we chose to avoid survey fatigue. While setting up, open **Display & Recontact** and choose **Ignore Cooldown Period** and **Keep showing while conditions match**:

    ![The Display & Recontact section with Ignore Cooldown Period and Keep showing while conditions match selected](/images/surveys/website-app-surveys/quickstart/recontact-options.webp)

    <Note>
      Please change this setting after testing your survey to avoid user fatigue.
    </Note>
  </Step>

<Step title="Activate the survey">
  Activate the survey to make it available for the SDK to pull into the website or app where you want to show
  it.
</Step>

<Step title="Understand caching behavior">
  For better scalability, we cache the request the SDK makes to the server. This allows you to use Formbricks
  on websites with millions of visitors without high hosting cost.
  <Note>
    **Important**: Any changes to surveys, action classes, or Workspace settings will
    take **up to 1 minute** to reflect in your app/website due to server-side caching. This includes survey
    modifications, new triggers, styling changes, and other updates.
  </Note>
  For troubleshooting, you can enable [Debug
  Mode](/surveys/website-app-surveys/framework-guides#activate-debug-mode) to see detailed logs
  in your browser console.
</Step>

  <Step title="Check browser compatibility">
    Formbricks is designed to work with all modern browsers. Please ensure your users are using a supported version:

    | Browser | Minimum Version | Release Date |
    | :--- | :--- | :--- |
    | **Chrome** | 111+ | March 2023 |
    | **Edge** | 111+ | March 2023 |
    | **Firefox** | 128+ | July 2024 |
    | **Safari** | 16.4+ | March 2023 |

    *Internet Explorer is not supported.*

  </Step>
</Steps>

Need help? Join us in [**GitHub Discussions**](https://github.com/formbricks/formbricks/discussions), and we'll be happy to assist!

## Existing integrations

See [workspace-ID migration](/surveys/website-app-surveys/workspace-id-migration) before changing an older setup.
For delayed survey changes, distinguish [server, SDK and renderer caches](/surveys/website-app-surveys/sdk-compatibility#when-changes-reach-respondents).
The one-minute response cache above is not an end-to-end refresh guarantee for an open SDK session.
