For the complete documentation index, see llms-docs.txt or the site index llms.txt. Full docs corpus: llms-full-docs.txt. Prefer the markdown version of this page at /docs/integrations/replit.md. Product capabilities: skill.md. Docs MCP: /docs/mcp. Site MCP: /mcp.

Replit Integration

Configure environment variables in Replit Workspace to send emails using Reloop.

Replit is an online IDE and hosting service. Follow these steps to configure your Replit Repl to send emails via Reloop.


Step 1: Add API Key to Replit Secrets

  1. Open your Repl workspace on Replit.
  2. Click on the Secrets tool in the left sidebar (represented by a lock icon).
  3. Add a new secret:
    • Key: RELOOP_API_KEY
    • Value: rl_your_api_key_here
  4. Click Add Secret.

Replit automatically injects secrets as environment variables.


Step 2: Write Email Dispatch Logic

Send an email in Node.js on Replit:

import Reloop from 'reloop-email';

const reloop = new Reloop(process.env.RELOOP_API_KEY);

reloop.mail.send({
  from: 'hello@yourdomain.com',
  to: 'friend@example.com',
  subject: 'Greetings from Replit',
  html: '<p>This was sent from my online Repl!</p>'
});

Was this page helpful?

Edit this page