Skip to main content
If it runs in a browser, Rocket can add it to your task. Paste a snippet directly into chat or describe what you want. Rocket figures out where it goes and integrates it into the right file. The examples below are a starting point. Any standard HTML, CSS, JavaScript, or iframe embed works.

How it works

You have two options: paste code you already have, or describe what you want. Paste a snippet: Copy any embed code, script tag, or component from anywhere and paste it into chat with a short instruction.
Describe what you want: If you do not have code yet, just describe the outcome. Rocket writes or fetches the integration for you.

UI components and libraries

Bring in any component library, design system, or individual UI snippet. Copy-paste components (e.g. 21st.dev, shadcn/ui, Flowbite):
Carousels, sliders, and interactive widgets:
Custom widgets and overlays:

3D and immersive content

Rocket can add 3D models, scenes, and interactive experiences to any page. Model viewers:
Three.js and WebGL scenes:
Spline:

Embeds

Paste an embed code from any tool and tell Rocket where to place it. Forms and surveys:
Scheduling:
Video:
Maps:
Social and community:

Scripts and tracking

Paste a script tag into chat and Rocket places it in the correct location automatically. Analytics:
Tag managers:
Pixels and retargeting:
Session recording:
Live chat and support:

Styles, fonts, and animations

Custom CSS:
Fonts:
Icon libraries:
Animation:

Targeting specific pages

Not everything should load everywhere. Tell Rocket exactly where to apply the code to keep your site fast.

Where code gets placed

Rocket determines the right location based on what the code does. You can always specify a different location.

What is not supported

The following require dedicated backend setup and cannot be added through custom code:
  • Webhook endpoints
  • Server-side environment variables accessed outside of Rocket’s environment system
  • Custom server-side API routes
For backend functionality, see the APIs and databases page.

What’s next?

Connectors

Some tools have dedicated integrations that are simpler than pasting raw code.

Connect APIs

Import and integrate API endpoints directly into your app.

Compliance & privacy

Scripts you add may be subject to cookie consent rules.

Launch your site

Publish your site with all custom code included.