Quick Start
Get Break Ground running in your application in five minutes.
Prerequisites
Before you begin, ensure you have:
- A BreakGround account (sign up from the dashboard)
- Access to your web application's HTML source or template
- A modern web browser (Chrome, Firefox, Safari, or Edge)
Step 1: Create Your Account
- Navigate to the BreakGround dashboard and register your organization.
- Verify your email address and set a password.
- Log in to access the dashboard.
Step 2: Get Your API Key
- In the dashboard, go to Settings > API Keys.
- Click Generate New Key.
- Copy the generated key (format:
wfx_followed by 64 hex characters). Store it securely — you will not be able to view it again.
Step 3: Add the SDK Snippet
Paste the following snippet inside the <head> section of your HTML:
<script>
(function (w, d, s, o, f, js, fjs) {
w["DAPObject"] = f;
w[f] =
w[f] ||
function () {
(w[f].q = w[f].q || []).push(arguments);
};
w[f].l = 1 * new Date();
js = d.createElement(s);
fjs = d.getElementsByTagName(s)[0];
js.id = f;
js.src = o;
js.async = 1;
fjs.parentNode.insertBefore(js, fjs);
})(window, document, "script", "https://cdn.example.com/sdk.js", "DAP");
DAP("init", { tenantKey: "YOUR_TENANT_KEY" });
</script>
Replace YOUR_TENANT_KEY with the API key from Step 2.
Step 4: Verify the Installation
- Open your application in a browser.
- Open the developer console (
F12orCmd+Option+I). - Type
window.DAPand press Enter. You should see the DAP function object. - To enable verbose logging, initialize with
debug: true:
DAP("init", { tenantKey: "YOUR_TENANT_KEY", debug: true });
Step 5: Create Your First Flow
- Open the BreakGround dashboard and navigate to Flows > Create New Flow.
- Install the BreakGround Chrome Extension if prompted.
- Enter the URL of the page where the flow should start.
- Use the visual builder to select elements and add steps.
- Preview the flow, then click Publish to make it live.
Your users will now see the flow when they match the targeting rules. For a full list of configuration options, see the SDK Configuration reference.