Skip to main content
Integrating Polygona with React is easy. Just follow these steps:

Installation

Install the Polygona SDK:
or

Embedding the Editor

  1. Go to the “Projects” tab in your dashboard.
  2. Click on icon on the top-right corner of the project you want to embed.
  3. Select the platform you’re using (e.g. React, Shopify).
  4. Copy the embed code and follow the instructions to embed it on your website.
Here’s an example of what the embed code might look like:
Replace 'YOUR_API_KEY' with your actual API key and 'YOUR_PROJECT_ID' with the project ID of the model you want to embed.

Handling downloads

To handle downloads, you can use the onDownload prop. This prop is a function that is called when the user clicks the download button.