# Publishing on page builder apps or headless setups

After a quiz is published to any theme, you can connect it to a page builder app or headless setup.

**Steps:**

1. From the quiz builder menu, click **Publish**.
2. From the **Publish** menu, click **Embed with code snippet**.
3. Copy the code in step 1 by clicking **Copy**.
4. Navigate to your page builder settings or your headless setup files and paste the code you just copied in the appropriate location.
5. Copy the following script and then paste it above the code you copy and pasted in steps 3 & 4.

```
<link type="text/css" rel="stylesheet" href="https://d38jc50suw8dg3.cloudfront.net/current/static/main.min.css" media="all">
<script async="" src="https://d38jc50suw8dg3.cloudfront.net/current/static/bundle.min.js"></script>
```

4. Save your changes.
