Go live and Turn on (for a paused rule) are for an owner or admin. A developer can build, preview and pause, and sees both switched off, with the reason “Only an owner or admin takes a rule live.” A viewer can look but not change anything. Approving a promotion is for an owner or admin in the project it is copied into, or for an owner alone if that project says so (see Who approves).
Take one rule live
1
Open the rule
In the sidebar, open Rules and select the draft. Check it with Preview first: Build a rule.
2
Select Go live
On the list, a draft has a Go live button. On the rule’s page it is in the More actions menu (the dots). A rule with a waiting version shows a banner “Version N isn’t live yet.” with Compare with live and Go live with version N.
3
Read the question and confirm
The dialog “Go live with name?” says when users start earning (“Users start earning on their next event.”) and what the rule would have done in the last 30 days. For a new version of a live rule it also shows what changes. Select Go live, or Not yet to leave it a draft.
Take several drafts live at once
On Rules, an owner or admin sees a checkbox on each draft. Tick them, or tick “Select the N drafts shown”, then select Take N live. The dialog “Take N rules live?” goes through them one after another and ends with “N of N went live”. Any that did not are marked “Didn’t go live”, with the API’s sentence for each.Pause, turn on, and undo
- Pause, in a live rule’s More actions menu, or the switch on the rule’s row, stops it at once. “Users keep what they earned.” Anyone who may write can pause.
- Turn on starts a paused rule again, from now. An owner or admin only.
- To take back a change the rule made, open Activity and undo the receipt. An owner or admin only.
Copy from Staging to Production
You build and test in Staging, a project of its own. Its pages carry a banner “Staging. Nothing here reaches Production’s users.” with a Promote to Production button. Switch project with the organization and project switcher in the sidebar.1
Open Promote
In the sidebar, open Promote, or select Promote to Production in the banner. You must be a member of both projects, and not a viewer in the one you copy into. If you are in only one, the page says “No project to copy name into”. When there is more than one project to copy into, Copy into is the first field on the page: pick the project first.
2
Pick what to copy
Under Pick what to copy, tick Rules and Units, up to 20 of each at a time.
3
Check what it adds
What it adds lists each change before anything is sent: a new unit, a changed unit, a new rule “as a draft”, or a new version “as a draft”. Left out lists what cannot go, with the reason, such as a rule that reads an audience the other project does not have.
4
Send for approval
Say why in Why (“For the approver in Production”, up to 1,000 characters), then select Send for approval. Nothing is copied yet. The banner “Sent for approval.” links to Open the request in Production, and Promote something else clears the page.
Approve it in Production
A person in the target project opens the request, on the page Approve a change. It shows who asked, when, and the plan. They add an optional note, then select Approve or Decline. Declining runs nothing. Approving creates the units and puts the rules there as drafts: a draft is off until someone takes it live, so open Rules in Production and Go live as above.Who approves
An owner or admin approves a proposal. A project can narrow that to owners only: under Developers, Agents, the setting Who says yes is Owners or Owners and admins, and only an owner changes it. The same setting decides who can give or refuse a held change.Switch your app to the Production key
Your code does not change. The address is the same and only the key differs.- Switch to the Production project.
- Open Developers, then API keys.
- Select Create key, name it for what uses it (like “Kiosk”), and select Create key. An owner or admin makes keys.
- Copy the key now. It is shown once. Put it on your server and keep the Staging key for tests.