lobbystack onboard command build a business from one file. Owners and admins make keys on the console’s API keys page. A key acts as your partner and reaches only your businesses.
Create a platform key
Give each tool its own key, so you can revoke one without breaking the others:1
Open the form
On API keys, click Create platform key.
2
Name the key and pick its access
Enter a Name you’ll recognize, such as
Client onboarding. Under Access, select only what the tool needs. To create businesses, select Create businesses and invite their owners.3
Copy the key
Click Create key, then copy the key and store it in a password manager or your tool’s settings. The console shows it once.
What a partner’s key can do
A partner’s key acts as your partner rather than as a person, so it keeps working when the teammate who made it leaves. It reaches your active businesses, including the ones the console created, and no others:POST /businessescreates a business with no owner yet. Name the owner inowner_email, and LobbyStack emails them your invitation.access_leveltakesfull, the default, oractivity.- Every other request names its business in the
LobbyStack-Businessheader. - Links the API returns, such as a widget’s script tag or a calendar connect link, point at your address.
Onboard a business from a file
lobbystack onboard reads a YAML or JSON file that describes a business, creates the business and sets it up. Sign in with your partner’s key first. On LobbyStack’s cloud, use https://app.lobbystack.com:
businesses:create, business:read, business:write, knowledge:read, knowledge:write and team:manage. A manifest for a partner’s key names the owner, who gets your invitation when the command creates the business:
harbor-dental.yaml
plan and phone_number out: your businesses don’t buy LobbyStack’s plans, and a key can’t claim numbers. Preview the run with --plan, then run it:
Revoke a key
Click Revoke beside the key, then Revoke key. Anything that uses it stops working right away, and you can’t undo it:- the webhook endpoints the key created turn off, on every business
- nobody can accept the team invitations it sent
- owners it invited when it created their business can still join