Source: https://nishanth-fern-test.docs-staging.pageloop.ai/web/hosting-whatfix-content-on-cloud-1

# Host Whatfix content on Cloud

All Flows created by the customers are stored in Whatfix cloud servers. For production, these Flows are served from Whatfix Cloud (CDN), which results in a much faster and better experience for all Whatfix end-users. If you use CDN servers, then your end-users will see content only after you do a Push to Production.

your title goes here

- If you use a development environment, use development-specific JavaScript. Any content that you create in the development environment can be seen without a Push to Production, as the content is hosted on Whatfix servers.
- Production content is hosted on CDN servers and you are required to embed the production JavaScript. A Push to Production is required for the content to be displayed to your users.

Use the following steps to publish content to CDN:

1. On the Whatfix Dashboard, click the **Push all to production** button to create a production package that pushes the content to our CDN buckets.

![clm\_db\_push all to production](/images/15/clm_db_push-all-to-production-1504e29c.png)

---

### Including the Whatfix Deployment JavaScript

If you are using the JavaScript integration, access the production script using the steps below.

1. On the [Whatfix Guidance dashboard](/web/overview-of-the-whatfix-dashboard), click **Settings**. ![ia\_left\_nav\_settings](/images/b8/ia_left_nav_settings-b868cdaa.png)

2. Click **Content deployment**. ![ia\_settings\_content deployement](/images/ad/ia_settings_content-deployement-ad70692b.png)

3. In the **Stages** tab, add the visibility rules in the script you want. ![clm\_prod and ready](/images/1d/clm_prod-and-ready-1dca9fb5.png)

4. Copy the **Deployment Script**. ![clm\_deployment script1](/images/db/clm_deployment-script-1-db6c4e86.png)

   your title goes here

If you have been a Whatfix customer from prior to Jan 2018, your account may not be using CDN deployment. Contact your respective Customer Success Manager to enable the CDN option for your account.

## Related

- [Host Whatfix Content On-Premise](/web/host-whatfix-content-on-premise)
- [Host content on your Server](/web/host-content-on-a-private-server)
