Help centerGet started
Quickstart
From zero to your first live domain: create the project, verify the origin, add the customer's domain, set up DNS and watch it go Active.
In five steps your app starts answering on a customer's domain, with HTTPS. The only part that's on you is creating two DNS records: one to prove the app is yours (once per project) and one to point the customer's domain to Tenanci (one per domain). Everything else, certificate included, is automatic.
Before you start
Have these at hand:
- your app's public URL, the one that works today (e.g.
https://app.agendafacil.com); - access to the DNS of your app's domain (to create a verification TXT record);
- the customer's domain and access to its DNS (yours or the customer's, e.g. at GoDaddy or Cloudflare).
The first time you sign in, the dashboard asks for your Profile (SaaS owner, Agency or Reseller), your Plan and your First project. Every plan asks for a card, including Starter, which has no charge.
1. Create the project
- Open Projects and click New project (during sign-up, this is the First project step).
- In Origin URL, paste the address where your app already runs.
- In Project name (optional), pick a name you'll recognize, such as "Barbershops".
- Click Create project.
You land on the project's Overview. More details in Projects.
2. Verify the origin
To stop anyone from using Tenanci to clone someone else's site (phishing), no domain goes live until you prove you own the origin.
- In the Ownership verification card, copy the Name / Host (something like
_tenanci-verify.agendafacil.com) and the Value. - At the DNS provider for your origin's domain, create a TXT record with that name and value.
- Back in the dashboard, click Verify now. When it says Origin verified, you're done.
You can move on while DNS propagates: domains simply wait for the verification.
3. Add the customer's domain
- Open the project's Domains tab and click Add domain.
- In Domain, type the customer's address, like
booking.joesbarbershop.com. The dashboard tells you right away whether it's a subdomain (CNAME record) or a root domain (A record). - In Display name (optional), enter the customer's name so it's easy to find in the list.
- Click Add domain.
The dashboard opens the domain on the DNS tab, with the DNS record to create. More in Domains.
4. Set up DNS
The DNS setup card shows exactly what to create at the customer's domain provider:
| Domain | Type | Name | Value |
|---|---|---|---|
Subdomain (booking.joesbarbershop.com) |
CNAME |
booking |
rota.tenanci.com |
Root domain (joesbarbershop.com) |
A |
@ |
109.224.228.49 |
Use automatic TTL (or 300 seconds). If the DNS is on Cloudflare, keep the cloud grey ("DNS only"). Step-by-step guides per provider are in DNS.
5. Watch it go Active
No need to keep refreshing: Tenanci checks DNS on its own and the Timeline shows each step live.
- Waiting for DNS: waiting for the record to show up. Usually takes a few minutes.
- Issuing certificate: DNS was found and HTTPS is being issued (usually 1 to 2 minutes).
- Active: live, with HTTPS. Open the domain in your browser to check.
The organization's owners and admins get an email when the domain goes live or fails. If the status is Error, fix what the reason says and click Check again; common cases are in DNS.
All through the API
The same flow without opening the dashboard (create a key under API keys):
# 1. Project: the response includes the verification TXT record in "ownership.record"
curl -X POST https://api.tenanci.com/v2/projects \
-H "Authorization: Bearer tnc_live_xxxxxxxx_xxxxxxxxxxxx" -H "Content-Type: application/json" \
-d '{"name":"Barbershops","originUrl":"https://app.agendafacil.com"}'
# 2. After creating the TXT: check ownership
curl -X POST https://api.tenanci.com/v2/projects/prj_8f3k2m/verify -H "Authorization: Bearer tnc_live_xxxxxxxx_xxxxxxxxxxxx"
# 3. Customer domain: the response includes the DNS record in "dns"
curl -X POST https://api.tenanci.com/v2/domains \
-H "Authorization: Bearer tnc_live_xxxxxxxx_xxxxxxxxxxxx" -H "Content-Type: application/json" \
-H "Idempotency-Key: barbershop-123" \
-d '{"projectId":"prj_8f3k2m","hostname":"booking.joesbarbershop.com","name":"Joe'\''s Barbershop"}'
# 4. Follow the status (pending_dns → issuing_cert → active)
curl https://api.tenanci.com/v2/domains/dom_4h7n1q -H "Authorization: Bearer tnc_live_xxxxxxxx_xxxxxxxxxxxx"import { Tenanci } from "@tenanci/sdk";
const tenanci = new Tenanci({ apiKey: process.env.TENANCI_API_KEY!, baseUrl: "https://api.tenanci.com/v2" });
const project = await tenanci.projects.create({ name: "Barbershops", originUrl: "https://app.agendafacil.com" });
console.log(project.ownership.record); // { type: "TXT", name: "_tenanci-verify.agendafacil.com", value: "…" }
// after creating the TXT
const { verified } = await tenanci.projects.verify(project.id);
const domain = await tenanci.domains.create({ projectId: project.id, hostname: "booking.joesbarbershop.com", name: "Joe's Barbershop" });
console.log(domain.dns); // { type: "CNAME", name: "booking.joesbarbershop.com", values: ["rota.tenanci.com"] }Endpoints used: POST /projects, POST /projects/:id/verify,
POST /domains and GET /domains/:id. To know when the domain goes live
without polling, use webhooks.

