Lovable
Add email sending with SendPing to a Lovable project, storing your API key securely via Supabase.
Lovable is a platform for building sites, tools, apps, and projects via chat. You can add SendPing to a Lovable project by asking the chat to add email sending with SendPing.
1. Add your SendPing API key
Create a SendPing API key in the dashboard. Lovable may wire up email in a few ways:
- Store the API key as a secret via the Supabase integration *(highly recommended)*.
- Prompt you to provide your own API key.
- Add the API key directly in the code (least secure — avoid).
Prompt Lovable to store the key for SendPing using Supabase. The send itself runs in a Supabase Edge Function; in Deno/Edge environments it can POST to https://www.sendping.co/api/emails directly, or use the sendping Node SDK (npm install sendping) when the function targets a Node-compatible runtime.
2. Add a custom domain
By default you can only send email to your own address. To send to other recipients, add and verify a custom domain, then update the from address used by the edge function.
from address to your verified domain and redeploy the function so the change takes effect.