The setup pages
This page is for an owner going through the setup pages for the first time. After it, you will know what each page asks, what to have ready for it, and what it does behind the scenes.
The setup pages turn a freshly installed server into your site. They make your admin account, show the recovery sheet, ask for your site's name and details, let you pick what to switch on, walk you through each platform and payment service, make your community rooms, and finish with a test backup.
Each page saves as you go. Close the browser at any point, open https://example.com/setup again, sign in if asked, and you are back on the same page. Back works on every page except the first two, which happen once.
The top of every page shows the step you are on and a Help with setup link to this page. Each platform and payment page also links to its own guide in these docs.
The setup link
The installer ends by printing one setup link, https://example.com/setup?token=β¦. Open it in your own browser.
- It works until your account exists, and then never again. Whoever opens it first can make the admin account, so keep it to yourself.
- Lost it, or it says "not valid"? On the server,
sudo blackbranch setup-linkprints it again, as long as no account has been made yet.sudo blackbranch setup-link --newmakes a fresh one and the old one stops working (the site restarts for a few seconds to learn it). - Already made your account? The command says the setup link no longer works because the first admin exists. Sign in at
https://example.com/and setup carries on where you left it.
The token is kept only on the server, readable by root. The site holds only its fingerprint, so it can check a link but never make one.
While setup is running, everyone else sees This site is being set up with a sign-in button for you.
πΌ Image: the "This site is being set up" page a visitor sees, with the owner's sign-in button.
1. Your account
A user name and a password, typed twice.
- The user name may use lower-case letters, digits and
. _ = -, up to 64 characters. The page shows what your account will be:@casey:example.com. - The password must be at least 8 characters. The sign-in service may refuse a weak one and says why.
This account is the site's admin, your own account on the homeserver, and the owner of the community rooms. It is the first admin. Later you can make more in Admin Panel β Site β Moderators, card Admins, and make trusted people moderators.
After it is made, the page takes you to sign in with the new account, and setup continues.
πΌ Image: the "Make your admin account" page showing the user name, the resulting @name:example.com preview, and the two password fields.
2. Recovery sheet
The page shows the backup passphrase and where the install's settings file is (/opt/blackbranch/.env).
β This page is shown once. Save the passphrase in your password manager now, then tick I have saved this. Without the passphrase no backup can ever be opened, by you or anyone else.
- The passphrase opens your install's backups and nothing else. It does not unlock anyone's encrypted messages: see Encryption.
- It is also in
.envon the server, asBACKUP_PASSPHRASE. Keep a copy of that whole file off the server too. - The site never keeps the passphrase. The server hands it to this one page while it is on screen and takes it back the moment you move on. Why: The install's settings file.
3. Your site
What people see as your site's name and details. Only the name is required.
| Field | What it is for |
|---|---|
| Name | The site's name everywhere |
| Streamer display name | Your name as shown above the player. Your account's name unless you change it. |
| Short name | The name under the icon when the site is installed as an app on a phone |
| Share card line | The line shown when a link to your site is shared |
| Description | The site's description for search engines and link previews |
| Operator, contact e-mail, governing law, last updated | The legal details your Terms and Privacy pages are filled with: who runs the site, how to reach them, which country's law applies, and the date the terms were last updated |
| Time zone | Picked from a list as you type, such as Europe/Berlin or America/Chicago. The page fills in your browser's zone. The quiet hour, stream schedules and dates follow it. Left empty, the site runs on UTC. |
| Data since | The day your site's history starts, as YYYY-MM-DD. Left empty, it becomes the install day. |
| Site icon | Optional. Upload one square picture (at least 512 Γ 512) and the site makes its browser and phone icons from it. Empty: the product's own icon. |
None of the text fields may contain $, " or \. Everything here can be changed later in the Admin Panel or with sudo blackbranch set (Site name, theme and looks). The name, legal details and points words are written into the server's settings file only at Finish, which restarts the site once with them.
4. Points
What your community's points are called: the name, the plural, a symbol, an icon (a path on your site such as /site-files/coin.webp, or an https address) and the name of the score on the leaderboard. Leave a field empty for the built-in word.
5. Modules
Choose what your site runs. One switch per optional part (module): YouTube, Card payments (Stripe) and PayPal and Venmo. Each part you switch on gets its own setup page next. OBS is not part of setup: once setup is finished, you switch it on and add the rig page and the overlays in Admin Panel β Utility β OBS (see OBS).
Donate link (optional): if you take no card or PayPal payments, a link to your Ko-fi, PayPal.me or similar page gives the Donate button and the !dono command somewhere to go.
Below them, Where you stream, and other services: Twitch, Kick, Streamplace, Ko-fi, Patreon, Streamlabs and Read-aloud voice (ElevenLabs). Each one you tick gets its own short page next. Everything is off until you tick it.
A platform is read as soon as its channel is set, so unticking one only leaves it out of setup; the Admin Panel still has it. What each part does: Turning features on and off.
πΌ Image: the modules page with the module switches, the donate link and the "Where you stream" choices.
6. One page for each part you chose
Each page is a short list of steps. Each step is a card that says what to do at the provider and why, with:
- a link straight to the right page at the provider;
- the exact values to paste there, made from your domain (redirect addresses, webhook addresses);
- the fields to fill in here, each with a Check button that checks the value's shape and, where it can, tries it for real (for example by fetching a token from Twitch or reading your webhook at Stripe). The Admin Panel has the same Check button beside the same values later;
- foldable explainers, such as which key goes where, or sandbox and live keys at PayPal.
Each page starts with a Read the β¦ guide link to its page in these docs. A step can be skipped: tick skip for now. The Doctor's row No setup step left skipped then lists it until you finish it in the Admin Panel. Every key you paste is stored encrypted on your server.
You never type a platform id. Twitch's broadcaster id and Kick's user id are found from your channel name when you save the page, once that platform's app keys are set. The Streamplace page asks only for your handle and finds your DID from it.
The Stripe and PayPal pages start with a warning to read before you take real money: what your payment account shows buyers about your name and address (see Protect your personal name and home address). The Stripe page has an optional step for the Supporter subscription's monthly price, and the PayPal page an optional step for a PayPal subscription plan.
The same instructions, for reading ahead, are in Connect your platforms.
7. Community
Make the community creates your community space with its #general and #forum rooms on the homeserver, as your own account, so they are yours. Running it again changes nothing.
Who can join? has no default; you must pick one before Next opens:
| Choice | What it means |
|---|---|
| Anyone | Open sign-up: anyone can make an account on your site and join the community |
| Only accounts I make | Closed: nobody can make an account on their own |
Sign-up stays closed until setup is finished, then follows your answer.
The Federation switch beside it is off by default: only accounts on your site take part. Leave it off unless you have a reason; you can turn it on later at no cost.
Both are explained, with how to change them later, on The homeserver.
8. Finish
Last details:
- Quiet hour: the hour each day, in your site's time zone, when backups run and security updates apply. Pick an hour you are never live. A security update also waits for a live stream to end. If you set no time zone, the page says the hour is in UTC.
- Phone alerts (optional): an Urgent topic and a Quiet topic on the free ntfy service, so the server's alarms reach your phone. One topic is enough; a second keeps urgent problems apart from the rest. Leaving both empty is fine: important problems always show in the Admin Panel's Doctor. You can change them later in Admin Panel β Site β Site, card Alerts to your phone. See Health and the Doctor.
- Backups: where they go.
| Choice | What you enter | Notes |
|---|---|---|
| This server | Nothing | Kept in /opt/blackbranch/backups/. Simple, but a backup on the same disk does not survive losing the server. |
| A storage bucket | The address s3:https://<endpoint>/<bucket> (optionally /<folder> after it), the access key id, the secret key, and a region if the provider asks (Cloudflare R2: auto) |
Any S3-compatible service: Backblaze B2, Cloudflare R2, Wasabi, Amazon S3. Create the bucket first. |
| Another server over SFTP | The address sftp:<user>@<host>:/<folder> |
Press Show this server's key and add that line to the account's ~/.ssh/authorized_keys on the other machine before you test. |
Recommended: a bucket at a different company from your server's provider. See Backups and restore for every detail of the targets.
Finish opens only once a test backup has passed. The test makes one real backup, restores it into a scratch database on the server and checks it, exactly like the weekly check. If you change the target after a test, test again.
Then Finish writes your site's name, legal details and points words into the server's settings file and restarts the site once with them ("Applying your site's details", under a minute; keep the page open). If a value is refused, nothing changes and the page says why. Last, it marks setup finished, restarts the chat and ingest services so the parts you switched on start, and updates the homeserver so sign-up follows your answer.
The finished page has a Who can join box repeating your answer, and how to change it.
πΌ Image: the "Your site is ready" page.
After setup
- The setup link no longer works, and
https://example.com/setupsays Setup is finished. - Every setting the pages wrote is in the Admin Panel at
https://example.com/admin. - Sign-up on the homeserver follows your answer to Who can join?
Next: First steps after installing
β Install