# Setting up a Persistent Key

1\. Visit <https://www.facebook.com/live/producer> or create a new Facebook post and choose **Live Video**, as shown in the image below.&#x20;

<figure><img src="https://1309786211-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7AkvlBRQSYs9K8SrUhNg%2Fuploads%2FgCLeIZfF39pmRO22zH0C%2Ffblive-createlivevideopost.png?alt=media&#x26;token=dbfa3d77-144b-4631-a494-94a966e48233" alt=""><figcaption></figcaption></figure>

2\. Scroll below the black preview screen and select **Use Stream Key,** and then check the box next to **Use a Persistent Stream Key**, as shown in the image below.

<figure><img src="https://1309786211-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7AkvlBRQSYs9K8SrUhNg%2Fuploads%2FedLFv7S5fuKPWuBHQk1L%2Ffblive-usestreamkey-persistentbox.png?alt=media&#x26;token=1a39b528-ef79-4121-8353-acb0c561e2a6" alt=""><figcaption></figcaption></figure>

4\. Find the 'Live API' section and copy the **Server URL** and **Stream Key** from Facebook into your CWM settings. In CWM, navigate to the 'Stream Settings' page and look for the Facebook Live section and paste both the Server URL and Stream Key into the appropriate fields.  Please Save Changes.&#x20;

<figure><img src="https://1309786211-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7AkvlBRQSYs9K8SrUhNg%2Fuploads%2FYpDReYxz2uzYsaW1rB7m%2Ffblive-liveapi-section.png?alt=media&#x26;token=ab941654-cbe4-4398-9728-9bb342277528" alt=""><figcaption></figcaption></figure>

Now that you've set up your persistent key going live on Facebook is easy.
