Skip to main content

Astro

To install Suppa in your Astro application:

  1. Open your main layout file, typically located at src/layouts/Layout.astro.
  2. Add the Suppa script to the <head> section:
---
// ... other imports and frontmatter
---

<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>
<slot />
</body>
</html>