React
To install Suppa in your React application:
- Open your
public/index.html
file. - 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>