Fix a hidden launcher
Rendel's button does not show, or opening it draws nothing. One prompt finds the cause.
The launcher is missing, or open() returns without showing anything, and no error appears.
The Rendel (rendel.ai) launcher button does not show in this project. I am the developer and I am asking you to find out why and fix it. Check, in this order: that Rendel.init runs (awaited, before runApp in Flutter; the script tag is in <head> on every page on the web); that the key starts with rd_pk_ and is not a placeholder; that nothing sets enabled: false; that a RendelLauncher (or a button calling Rendel.open) is actually on the screen. Run the app with the test key and read the Rendel lines in its log: they name the cause. If it is something else, the symptoms are listed at https://rendel.ai/docs/resources/troubleshooting. Fix it, build, and tell me what it was.
Paste into your coding agent, opened in your project. Works in Claude Code, Cursor, Codex, Windsurf, GitHub Copilot and Gemini CLI.
What the agent will do
- Check the four usual causes, in order, in your code.
- Run the app with the test key and read Rendel's log lines, which name the cause.
- Fix it and tell you what it was.
How to check it worked
The launcher shows, on a debug build and on a release build.
The four causes
On a website's first visit the button can take a few seconds to appear while the script loads, so give it a moment before you look for a cause.
initnever ran, or ran after the widget built. It is aFuture: await it inmainbeforerunApp. On the web the script tag belongs in<head>on every page.- The key is not a publishable key.
initrefuses anything that does not start withrd_pk_(ornc_pk_, from before the rename), turns Rendel off for the run and asserts in debug. CheckRendel.isInitialized. - The key is still the placeholder.
rd_pk_test_…from an example is not a key, andinitrefuses it the same way. Your app's own is under Settings › Keys & environments. - Rendel is switched off.
RendelConfig(enabled: false)in code, or availability turned off in the console, makesRendelLauncherdraw nothing.Rendel.isEnabledsays which.
On a website, a domain not listed under Settings › Security › Allowed domains hides the button too, and the log says origin_not_allowed with the page's address (a test key also answers on localhost).
The button does not leave the screen when your organization's generated screens for the month are used up, or its spending cap is reached and set to pause: it stays, and a new question gets a calm sentence until answers can start again. A build on the test key does the same, as its answers use the same messages. Organization settings › Plan & billing says when this is happening.
Something else: Troubleshooting.