--- title: "Install Userflow.js in GoHighLevel" slug: "userflowjs-installation-in-gohighlevel" description: "Install Userflow.js to create flows, checklists, and surveys in GoHighLevel. Follow our guide to enhance user engagement with custom attributes." tags: ["Userflow.js"] updated: 2026-10-26T16:17:00Z published: 2026-10-26T16:17:00Z canonical: "help.userflow.com/userflowjs-installation-in-gohighlevel" stale: true --- > ## Documentation Index > Fetch the complete documentation index at: https://help.userflow.com/llms.txt > Use this file to discover all available pages before exploring further. # Install Userflow.js in GoHighLevel Install Userflow.js in your [GoHighLevel](https://www.gohighlevel.com/) agency account to show flows, checklists, launchers, and surveys to your GoHighLevel users. You add one snippet to your agency’s Custom JavaScript, and GoHighLevel fills in each user’s details. For other ways to install, see [Userflow.js Installation](https://help.userflow.com/docs/userflowjs-installation). ## Add Userflow.js to GoHighLevel 1. Sign in to Userflow. 2. Go to **Settings > Environments**. 3. Copy your **Userflow.js Token**. It starts with `ct_`. 4. Sign in to your GoHighLevel agency account. 5. Go to **Settings > Agency Settings**. 6. In the **Custom Javascript** field, paste this snippet, and replace `USERFLOW_TOKEN` with the token you copied in step 3: ```plaintext ``` > [!WARNING] > **Every GoHighLevel user counts as an MAU.** Code in **Agency Settings** > **Custom Javascript** runs for every user who signs in to your GoHighLevel agency or its sub-accounts, and the snippet identifies each of them. They all count toward your MAU total, even if they never see Userflow content. If you only want Userflow for some users, wrap `userflow.identify()` in a condition so it only runs for them. See [How Userflow Tracks and Bills Monthly Active Users (MAUs)](https://help.userflow.com/docs/how-userflow-tracks-and-bills-monthly-active-users-maus). ## How the GoHighLevel snippet works The GoHighLevel snippet is the standard Userflow.js snippet. GoHighLevel template variables, such as `{{user.id}}`, fill in the current user’s details. ## Send more user attributes from GoHighLevel You can send any attributes you want to Userflow in the `userflow.identify()` call. GoHighLevel has many template variables besides the ID, name, email, and sign-up date the snippet already sends. Add your own, such as permissions. To see which GoHighLevel fields are available, add this to your **Custom JavaScript** field: ```plaintext ``` Then, in a tab running GoHighLevel as one of your users: 1. Open DevTools (F12 on your keyboard). 2. Reload the page. 3. In the **Console** tab, find the `^^^^^ user object ^^^^^` text. The line above it is the full `user` object. Expand it to see the other fields. ## Related articles - [Userflow.js Installation](https://help.userflow.com/docs/userflowjs-installation) - [How Userflow Tracks and Bills Monthly Active Users (MAUs)](https://help.userflow.com/docs/how-userflow-tracks-and-bills-monthly-active-users-maus) - [Userflow.js installation check](https://help.userflow.com/docs/userflowjs-installation-check) ## Related - [Userflow.js Installation: add Userflow to your web app](/userflowjs-installation.md) - [Check that Userflow.js is installed](/userflowjs-installation-check.md)