Replit

Add EnterestOS response tracking to a Replit-hosted app.

2 minPrerequisites: Project created in EnterestOS

Problem: You built and hosted an app on Replit and form submissions have no tracking — no status, no follow-up visibility, no record of what is open or resolved.

Solution: Install the SDK in your Replit project, add one trackResponse() call after form submit, and every submission appears in your Inbox.

Steps

  1. 01.Create a project in EnterestOS and copy your project key
  2. 02.Open your Replit project
  3. 03.Open the Shell tab in Replit
  4. 04.Run: npm install @enterestos/sdk
  5. 05.Open your form component file
  6. 06.Add the EnterestOS import and client at the top
  7. 07.Call trackResponse() after your form submit handler succeeds
  8. 08.Add your project key to Replit Secrets as ENTERESTOS_PROJECT_KEY
  9. 09.Submit a test form
  10. 10.Confirm the submission appears in your Inbox

Integration Code

typescript
import { createEnterestOS } from '@enterestos/sdk';

const enterestos = createEnterestOS({
  projectKey: process.env.ENTERESTOS_PROJECT_KEY!
});

// In your submit handler — after successful submit:
try {
  await enterestos.trackResponse({
    type: 'contact_request',
    payload: formData
  });
} catch (error) {
  console.error('Tracking failed:', error);
}

Result: Your Replit app now tracks every form submission in EnterestOS with full lifecycle visibility until resolved.

Common Questions

How do I add EnterestOS to a Replit app?

Install @enterestos/sdk in Replit's Shell, add your project key to Replit Secrets, create a client with createEnterestOS(), and call trackResponse() after form submit. Wrap in try-catch.

Where do I store my EnterestOS project key in Replit?

Use Replit Secrets — the padlock icon in the left panel. Add it as ENTERESTOS_PROJECT_KEY. Then access it in your code as process.env.ENTERESTOS_PROJECT_KEY. Never hardcode it in your source files.