Easily embed Builder.io pages and content into your Webflow site by following our guide below!
Using Builder for your Webflow website makes editing your content easy. Any changes you make to your pages in Builder are automatically updated on your Webflow site. Below we will go over:
- Pasting Builder HTML into Webflow
- Using Builder's APIs
Pasting Builder HTML into Webflow
After creating some content in the Builder editor, click the three dots in the upper right hand corner and select Get Code. Scroll all the way to the right, select Wordpress, and copy the code to your clipboard.
Create a new page on your Webflow site or open an existing one where you would like to import your Builder content. Open the Add Elements panel. Add an Embed element from the Components section. Paste the custom code you copied from Builder. Then publish the page and navigate to your domain to view your embedded Builder content. Any changes you make to your content in Builder are automatically updated on your Webflow site.
Note: If you are embedding multiple Builder components the <script>
only needs to be included once per page/site. To enable Builder components globally on your Webflow site, move the script before the closing </body>
tag in the project settings. Or to enable Builder components for only a particular page, place the script before the closing </body>
tag in the page settings. For more help on determining where to place custom code in your Webflow site refer to this article.
Using Builder's APIs
For advanced users, you can find documentation on how to use Builders API’s in the developer guide. Anytime a page request comes into your Webflow site and Webflow doesn’t match it to a page inside of its own database, you can use Builder's HTML API to hit Builder with your API key and URL, and Builder will respond if it has a page that matches the URL. It will return the full HTML of your Builder component which you can embed into your Webflow page and send back to your end users. So once the HTML API is set up correctly, anytime a new page is created in Builder it will route automatically on your Webflow site and render server-side, which is more ideal for performance and SEO.
Useful Links
https://webflow.com/blog/webflow-custom-code-tips
https://university.webflow.com/lesson/custom-code-embed
https://university.webflow.com/lesson/custom-code-in-the-head-and-body-tags
Looking to hire a third party to help with your project?
Submit a project request and our partnerships team will reach out to connect you with an Expert from our partner ecosystem.