> ## Documentation Index
> Fetch the complete documentation index at: https://docs.usesuperflow.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Setup

> How to setup Superflow with Wordpress

## 1) Enter Your Site URL

Enter the site URL you want Superflow to be installed in.

<Frame>
  <img src="https://mintcdn.com/superflow/gnnXgtB9B2DXpreO/images/enter-url-final.png?fit=max&auto=format&n=gnnXgtB9B2DXpreO&q=85&s=70fcaae4e19e53003e35d892eff89874" alt="" width="3736" height="1797" data-path="images/enter-url-final.png" />
</Frame>

## 2) Select Wordpress from the list of Platforms

Choose Wordpress from the list of options to install Superflow with Wordpress.

<Frame>
  <img src="https://mintcdn.com/superflow/hdb1NqEMmtSslllh/images/select-wordpress-final.png?fit=max&auto=format&n=hdb1NqEMmtSslllh&q=85&s=c757d39a3a1f08365ae462289566dee6" alt="" width="3740" height="1805" data-path="images/select-wordpress-final.png" />
</Frame>

## 3) Copy your unique Superflow code

You can copy your unique Superflow code from the onboarding flow or from your project settings in your dashboard.

<Frame>
  <img src="https://mintcdn.com/superflow/hdb1NqEMmtSslllh/images/snippet-wordpress-final.png?fit=max&auto=format&n=hdb1NqEMmtSslllh&q=85&s=3fa49105ad868d93cefa73015f079eb9" alt="" width="3740" height="1813" data-path="images/snippet-wordpress-final.png" />
</Frame>

## 4) Add your unique Superflow code at the end of `functions.php`

Go to your Wordpress source code and open a file called `functions.php`, which should be in the `wp-includes` folder.

Add your Superflow code at the end of the file and be sure to save.

## 5) Deploy your Wordpress site with the new changes

Deploy your wordpress site with your new changes.

## 6) Verify your Installation

Verify your Superflow installation by clicking the Verify button on the onboarding flow.

<Frame>
  <img src="https://mintcdn.com/superflow/hdb1NqEMmtSslllh/images/verify-final.png?fit=max&auto=format&n=hdb1NqEMmtSslllh&q=85&s=890ba1333755e4d746505cc619a2c03a" alt="" width="2998" height="1459" data-path="images/verify-final.png" />
</Frame>

If successful, you should be redirected to your published Wordpress site and see the following success message:

<Frame>
  <img src="https://mintcdn.com/superflow/hdb1NqEMmtSslllh/images/verified-final.png?fit=max&auto=format&n=hdb1NqEMmtSslllh&q=85&s=6e1b9b3a5fd451707b5fb936573ef56a" alt="" width="1366" height="1206" data-path="images/verified-final.png" />
</Frame>

## 7) Troubleshooting

Having trouble getting your verifying your installation? Here are the common mistakes users encounter when installing Superflow:

* Did you forget to save the Custom Code?
* Did you forget to publish your site?
* Is the browser still loading a cached version?
* Did you add `?review=true` at the end of your url?
* Did you publish your changes on a staging URL while you are trying to access a Prod URL?
* Did you accidentally install multiple Superflow scripts in the Custom Code?

## 8) Navigate to your Wordpress site

Now that you have verified that Superflow has been installed on your Wordpress site, navigate to your published site and add `?review=true` at the end of the URL to enable Superflow.

`Example: mywebsite.wordpress.com/?review=true`

## 9) Test out Superflow

You should now see a Superflow toolbar on the bottom right of you screen.

<Frame>
  <img src="https://mintcdn.com/superflow/hdb1NqEMmtSslllh/images/toolbar-final.png?fit=max&auto=format&n=hdb1NqEMmtSslllh&q=85&s=66f1b92617285d5dfc12df908b54e488" alt="" width="3678" height="1775" data-path="images/toolbar-final.png" />
</Frame>

## 10) Dropping your first comment

Try leaving a comment on your page.

You can leave a comment in several different ways:

* By highlighting any text
* By hovering over any element on the page
* By drawing a box anywhere on the page

You can also leave voice and screen recordings in your comments as well!

<Frame>
  <img src="https://mintcdn.com/superflow/XWbQ_WnDAi9pqsmS/images/demo.gif?s=013fcafea837a87dcad1c0d516e1ebee" alt="" width="640" height="360" data-path="images/demo.gif" />
</Frame>
