Skip to main content

React

To install Suppa in your React application:

  1. Open your public/index.html file.
  2. Add the Suppa script to the <head> section:
<!DOCTYPE html>
<html lang="en">
<head>
// ... other meta tags
<script
src="https://app.suppa.ai/integration/script.js"
data-api-key="YOUR_SUPPA_API_KEY"
></script>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
</body>
</html>