Installation Guides
Replit
Add RevDock to your Replit project in under 2 minutes.
Works with any Replit template — HTML, React, Node.js, Python, and more.
Setup
Open index.html and add the script to the <head>:
<!DOCTYPE html>
<html>
<head>
<script
defer
src="https://getrevdock.com/scripts/revdock.js"
data-website-id="YOUR_WEBSITE_ID"
></script>
</head>
<body>
<!-- Your content -->
</body>
</html>Open index.html and add the script to the <head>:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<script
defer
src="https://getrevdock.com/scripts/revdock.js"
data-website-id="YOUR_WEBSITE_ID"
></script>
</head>
<body>
<div id="root"></div>
</body>
</html>If you're serving HTML from Express, add the script to your template:
<head>
<script
defer
src="https://getrevdock.com/scripts/revdock.js"
data-website-id="YOUR_WEBSITE_ID"
></script>
</head>Or use EJS/Pug templates accordingly.
Replit Secrets are a great way to store your website ID. Access them via
process.env in Node.js or the Secrets tab in the sidebar.
Deploy
- Click Run to preview your changes
- Click Deploy to make it live
- Your deployed
.replit.appURL will have RevDock active
Verify it's working
- Visit your deployed Replit app
- Check the RevDock dashboard — widgets should appear within minutes