Going live

A new app ends its setup live. What still needs you, and how to rotate a key.

Your app goes live when you press Go live on Home, whenever you are ready. The Go live checks beside it say what would make the assistant better for your users: five, a sixth for a website, and one more for an app whose actions change data as the signed-in user, each open one with the page that fixes it. None of them holds the button: the dialog names the ones still open, and you can finish them after. When the setup agent finishes with every check passing, Rendel publishes the Appearance, Persona and Knowledge drafts and switches the live key to them by itself.

To take Rendel out of your app later, turn off Available in this app on Appearance and publish: its button leaves every device from their next launch.

The Go live checks

CheckPasses whenIf not
Your app is connectedA build has started with your key at least onceRun the app once
Rendel knows what your app can doThe SDK sent its actions and screens, which it does at init. With none yet it passes in amber: Rendel answers questions and does nothing in your app until Actions gives it something to doRun a build that calls Rendel.init
Rendel can answer from your informationAt least one knowledge source is ReadyAdd a source under Knowledge
Check questions passedAt least 80% of the check questions were answered from your information or your app: 3 of 3, 4 of 4, or 4 of 5Run check questions under Go live on Home, which shows once your app has connected, and fix what it shows: it says how many going live needs, and quotes the questions it answered and each one it missed, with why. A general question, such as what Rendel can help with, is asked only to make up three: once a source is Ready, any answer to it passes. A question asked before your app first connected, or while your information was still being read, says so, and offers Run again once the app has connected or the information is Ready
People can reach your teamSupport is on, or at least one contact channel is listed: a phone line, an email address or a help pageTurn on Support or add a channel under Settings › Reaching a person. Until then, anyone who needs a person is told to ask you directly, with no number, address or link to reach you: Home says so under the check, and Test says it beside an answer it could not give
Your website may use the live key (websites only)At least one domain is listed under Settings › Security › Allowed domains, and no site the key turned away is missing from itAdd your site's domains there. Until one is listed, the live key answers no website; a site Rendel turned away is named on the check
Rendel knows who is signed in (apps whose actions change data as the user)Rendel checks who is signed in with one of your own actions under Settings › Security › Who is signed in, or, for an app that already has an identity secret, a sign-in your backend signed has reached Rendel with Names need proof or Require a verified identity onChoose the action that answers with the signed-in person's own record and where it puts their id; the setup agent does this for you. Your server signs nothing

Until then the live key works as your test key does: it shows the draft, its conversations count as tests, and a TestFlight or internal-testing build made before Go live shows Rendel as a debug build does. Going live switches it to what you published. If a check was still open when the agent finished, Home names it, and Go live switches the key over whenever you press it.

What still needs you

  • The live key in what your users get. Your users reach Rendel on the live key (rd_pk_live_…). Set up by hand, the code from By hand has it from the start, so there is nothing to change; set up by the agent, merge the rendel/setup branch and ship a release build: the agent wired the live key into release builds, or listed the swap in its to-dos. A site or build that has the test key (rd_pk_test_…) keeps showing the draft under Test mode after Go live: swap the live key in. The Go live dialog says when the test key last called in, and Home says so while only the test key calls in, with the live key to copy. Under the domain check, For your developer has this in a message to send.
  • Websites: list your production domains under Settings › Security › Allowed domains. It is a Go live check for an app with a web build, and the setup agent asks you for them.
  • Every week: open Questions to answer and Requests to build. Unanswered questions and failing actions are your backlog.

After go-live, changes from your code go through Sync with code, and apply as the agent sends them. To bring Rendel to the app's other codebase (its website beside its phone app), use Add another codebase under For your developers at the foot of Home, which a live app has: the setup agent adds the SDK there with the same keys, and everything it sends applies as a sync's changes do.

Rotating a key

Rotating issues the new key at once and keeps the old one working for seven days on live, one day on test. Ship the new key inside that window.