Template owner’s guide

Your Refeyr app. Your Lovable remix. Your Elegant account.

Launch your own refeyr.com professional network, booking, forms, and messaging app without writing integration code. Follow this guide from your first remix to your first successful email and text.

01

Remix in Lovable

Make an independent copy of the template, then fill in your own secret values.

02

Become the admin

Set your Google email as the admin and sign in to configure the shop.

03

Connect Elegant

Paste your own Integrator API key into the encrypted Elegant shop settings.

04

Test and publish

Send test messages, review the Outbox, choose your domain, and publish.

Step 1 · Lovable

Remix the template into your own project

A remix is an independent copy. You can change its branding, services, messages, and code without changing the original template or anyone else’s shop.

Make your copy

  1. Open this template in Lovable with the invite link below, or open the original project you were shared.
  2. Click the project name, then choose Settings → Remix this project. You can also use the project’s three-dot menu and choose Remix.
  3. If you are starting from Lovable’s template gallery, choose + → Use a template and select this template.
  4. Name the new project for your business and open it.
Open this template in Lovable

What your copy includes

  • The complete application code and backend structure.
  • Booking, customer portal, admin tools, forms, messaging, workflows, and Outbox.
  • The Elegant API endpoints and delivery logic—no API coding is required.

What does not carry over

The original customers, appointments, auth users, stored records, secret values, service connections, scheduled jobs, custom domain, and publishing state are not copied. Stripe connections, payment customers, and payout details never transfer. Secret names may be present, but you must enter their values again. Your copy starts unpublished.

Review any sign-in settings that did not carry over and enable Google sign-in for your copy if Lovable asks you to configure it.

Step 2 · Your private workspace

Set the owner and protect customer data

Complete these settings before taking real bookings. Both values belong in your remixed project’s Lovable secrets, not in public code or messages.

Choose the only super admin

Set SUPER_ADMIN_EMAIL to the exact email address of the Google account you will use as the owner. Sign in with that same Google account, then reload the app. Every other signed-in user is treated as a customer.

Create a new encryption key

Set DATA_ENCRYPTION_KEY to a new, long, random value and keep a secure backup. The app uses it to encrypt customer details, private records, signed forms, and messages before storage.

Set this before collecting customer data. Changing it later makes existing encrypted records unreadable.

Leave Lovable Cloud’s managed backend keys unchanged. After changing secrets, publish again so the live site receives them; the preview uses updated values immediately.

Step 3 · Email and SMS

Connect your own Elegant API key

Each remix owner uses a separate Elegant shop and key. Never copy the template creator’s key, and never place your key in browser code, a template message, or a screenshot.

Recommended: save it inside admin Settings

This is the easiest option for a nontechnical remix owner. The key is encrypted, used only on the server, and cannot be displayed again after saving.

Elegant’s official guide
  1. 1
    Create your account at fnflo.com and confirm your email if asked.
  2. 2
    In Elegant, open Settings → API Keys. Choose New API key, give it a recognizable name, and select the Integrator role.
  3. 3
    Copy the key immediately. Elegant shows it only once.
  4. 4
    In your remixed app, sign in as the admin and open Settings → Elegant shop.
  5. 5
    Enter your shop name, paste the key, and choose Save securely. Wait for the connection check to show Connected.

Alternative: use a Lovable secret

You can instead store the key as ELEGANT_API_KEY in your remixed project’s Lovable secrets. This is useful when you want deployment-level credential management. If both methods are configured, this secret takes precedence over the key saved in admin Settings.

Step 4 · Built-in integration

What happens when the app sends a message

The template already contains every endpoint and request payload. Your key supplies access to your shop; you do not need to create a custom connector or write an API route.

1. Authorize

The server exchanges your Elegant API key through /auth/me for a short-lived auth token.

2. Deliver

The server uses that token with Elegant Admin API /send_email or /send_sms.

3. Record

The Outbox records sent, test-mode, skipped, or failed status and the provider’s result message.

Privacy boundaries

Customer and waiver fields are encrypted before database storage. Elegant receives the recipient and message content needed for delivery. One-time sign-in links are removed from stored Outbox copies.

Automatic channel check

During verification, the app reads your Elegant shop and turns on email or SMS individually when either is disabled. The Settings page shows the resulting shop status.

Step 5 · Prove it works

Send tests before inviting customers

Use your own email address and mobile number. A successful test confirms your key, shop flags, sender settings, and template rendering together.

Email and SMS tests

  1. Open Communication → Email templates or SMS templates.
  2. Open a template and enter your address or number under Send a test to.
  3. Choose Send test and read the result shown below the button.
  4. Open Communication → Outbox and confirm the entry says Sent.

End-to-end booking test

  • Review your business name, services, duration, prices, and sender settings.
  • Make a pay-during-visit test booking and confirm its email or SMS arrives.
  • If you connect Stripe later, also complete a test card payment before accepting real cards.
  • Open the manage link and verify it reaches your own site and booking.
  • Test a reminder schedule and confirm each scheduled message sends only once.

Restore scheduled workflows after remixing

Scheduled jobs do not transfer with a remix. Ask Lovable to recreate this template’s five-minute runner for /api/public/jobs/run-workflows, then test a reminder and an expired unconfirmed booking before relying on automation.

Step 6 · Optional card payments

Book now; connect Stripe only if you want online cards

Your remix can accept bookings immediately with Pay during visit. No payment account, API key, or Stripe product catalog is needed for that option. Online card payment stays hidden until you connect Stripe.

Use it without Stripe

Customers choose Pay during visit, confirm their booking, and pay you at the appointment. The admin can record the in-person payment later. This works as soon as the remix is set up.

Turn on online card payment

  1. Open your remixed project in Lovable, not the original template.
  2. Open Payments and connect your own Stripe account.
  3. Use test mode first. Make a booking with Stripe’s test card 4242 4242 4242 4242.
  4. Complete every go-live step shown in Payments before accepting real cards, then publish again.

Your Stripe account stays yours

The template creator’s Stripe account, customers, payments, and payout details are never shared with your remix. Lovable supplies the connection; the app already contains the checkout and payment-confirmation code. Do not paste Stripe keys into Elegant shop settings or into template messages.

Service names and prices come from your admin Services settings, so you do not need to recreate them as Stripe products.

Step 7 · Branding

Your messages leave with fnflo branding

Every email and text this app sends is delivered through the shared fnflo service, so the message your customer receives carries fnflo branding. Nothing extra to configure — it works as soon as your shop is connected.

What your customers see today

Booking confirmations, reminders, follow-ups, and any message you send by hand all leave with fnflo branding. Your own business name still appears inside the message, because it comes from your business settings.

Want your own brand and email server?

To send under your own brand from your own email server, submit the 10DLC compliance form. Sign in at fnflo.com, open Settings → Compliance, and complete the form. 10DLC is the registration US mobile carriers require before business texts are delivered under your own brand.

Open fnflo settings

Step 8 · Fixes

Understand the result instead of guessing

Settings says Not connected+

Check that the key came from your own Elegant shop, has the Integrator role, and was saved in this remixed project. Replace revoked or expired keys.

Authorization returns 401+

Your key was rejected or expired. Create a replacement in Elegant, save it again, and wait for verification.

Messages stay in test mode+

No usable Elegant key is configured. Connect the shop in Settings or add ELEGANT_API_KEY to this project’s secrets.

A test says Failed+

Read the provider response below the send button or open the Outbox entry. Check the recipient, sender address or number, and Elegant shop settings before retrying.

Google sign-in does not make me admin+

Confirm SUPER_ADMIN_EMAIL exactly matches the Google account’s verified email, then reload. Secrets in the live site require a new publish.

A manage link uses the wrong domain+

Ask Lovable to set BRANDED_SITE_URL to your public domain, then publish and send a fresh test. Older links keep the domain with which they were created.

Step 9 · Publish

Your go-live checklist

Complete this list in the remixed project, not the original template.

My own SUPER_ADMIN_EMAIL is set and Google admin access works.
A new DATA_ENCRYPTION_KEY is set and safely backed up.
My own Elegant Integrator key shows Connected.
Test email and SMS entries show Sent in the Outbox.
Business details, services, prices, forms, and templates are reviewed.
Pay during visit is tested; if I accept cards, my own Stripe is connected and its go-live checklist is complete.
The five-minute scheduled runner has been recreated and tested for reminders and expired booking cancellation.
My custom domain is connected and BRANDED_SITE_URL matches it.
A real booking, manage link, reschedule, and cancellation have been tested.

Publish from Lovable only after the checklist passes. Publishing deploys your current code and secret values; it does not connect a custom domain automatically.

Step 10 · Support

We’re here if something doesn’t work

Message the fnflo support team about your shop connection, a message that didn’t arrive, or any step in this guide.

Email support

Write to support@fnflo.com. Tell them what you expected, what happened, the status shown on the message in your Outbox, and the exact wording of any error you were shown.

Email support