C-suite · Privacy · Terms

Set up with your coding agent

You paste one prompt into your coding agent. The agent installs a small tool in your project, you press one button in your browser, and that page goes on to your dashboard, which shows the connection by itself.

The prompt

Open your project in your coding agent and paste this. It needs Node 18 or newer and a shell.

The prompt is at /agent-prompt.txt. Open it and copy all of it.

What the prompt makes the agent do

  1. Look in your code at how an account is made in your product (a web form, an API, a CLI, MCP, an agent sign-up), so that you do not have to tick it later.
  2. Download one file, aim.mjs, into your project folder, with a short script you can read first. The script checks the file against the SHA-256 this site names. It installs no package, does not use sudo and writes nothing outside your project folder.
  3. Start the setup. The tool prints a link and a check word. The agent shows you both. The link is for you only: do not share it or paste it anywhere. Then it keeps looking by itself until you have pressed Allow: you do not have to tell it. A link is good for about ten minutes. When it has run out the tool says so and prints a new one, and the agent asks you whether to go on.
  4. After you press Allow, tell you the name and id of the company the tool was connected to, so that you can see it is yours. Then show the planned changes as a full diff and apply them. At the very end it names that company once more.
  5. Write the connection key into .env.aim in your project folder. That file is git-ignored and only you can read it. The key is not printed and does not go into the chat.
  6. Run node aim.mjs verify until it passes. Your dashboard then shows the connection.
  7. Add the calls in your own code that the plan names, such as where an account is made. The agent writes these; the tool shows where and what.
  8. Make the three secret values your server needs, with node aim.mjs apply secrets --file .env --yes (with the name of the env file your server loads). When your code loads no env file, the agent uses .env in the project folder and does not change how your server is started. It asks you only when there are several env files and it cannot tell which one your server loads. The tool writes them into that file and prints only their names, so they do not go into the chat. A file it makes is git-ignored before anything is written to it and only you can read it. A file that was there before and that other users of your machine can read is closed to them first; if the tool cannot do that, it adds nothing. A value that is in the file already is left alone. When the file is inside a git repository, the tool asks git itself before it writes. A file git already tracks is refused, and so is one that git does not ignore or cannot be asked about: the tool then says what to check. That file is for use on your own machine only and is never committed. For the deployed app, the same three names are set in your host's own secret settings: the agent tells you the names, never the values. In its last message the agent says the three names again, that they are in that file for use on your own machine, and that your server must be started with them in its environment. A file your server does not load gives it nothing by itself.

The agent does not open your browser, does not sign in for you and cannot press Allow.

What you click

  1. Open the link the agent shows you.
  2. Sign in with Google, if you are not signed in. If you are new, the same step makes your account.
  3. Look at the check word on the page. It must be the same word your agent or terminal shows. Press Allow.

That is three steps after the paste, and two when you are already signed in. If you are in more than one company there is one more: you pick the company on the page. The link cannot pick it for you.

The page already shows a company: yours, or a new one named after your project folder, with the ways to sign up that your agent found in your code ticked. Change the name or the ticks if they are not true, before you press.

After Allow there is nothing to tell the agent and nothing to open. The page goes on to your dashboard by itself. A box there waits for the check call and turns to "Connected ✅" by itself. It looks every few seconds for a quarter of an hour, and not while the tab is in the background. After that it says it has stopped; reload the page to look again.

Allow lets that one tool make one connection key for your company and mark its install steps on your checklist. It cannot read your dashboard, your members, your keys or your reports. The permission ends after 24 hours; the key keeps working until you revoke it on the Settings page.

Do not press Allow when the word is different, or when you did not just start a setup in your own project. Someone who sends you a ready-made link is asking for that permission for themselves.

Whoever opens the link first and presses Allow decides which company your project is connected to. That is why the link is for you only, and why the agent tells you the company. If it names a company that is not yours, or if the page says the link was allowed before, tell the agent to stop and run node aim.mjs uninstall --yes in the project folder, then start again.

What lands in your project folder

  • aim.mjs: the setup tool, one file.
  • aim/: nine small files. Your code calls them to write what happened to a log on your disk, and one of them sends that log on.
  • aim.config.json and aim.lock.json: the platform address, your company id, and what the tool installed. No secret is in them.
  • .aim-token and .env.aim: the tool's permission and the connection key. Both are git-ignored and readable only by you.
  • .aim-setup: there only while the setup waits for your Allow.
  • Three lines in the env file your server loads, one for each secret value. The tool adds the name of that file to .gitignore.
  • A few marked lines in .gitignore. When git still does not ignore the env file with those lines, the tool puts one marked line into the .gitignore beside that file too.
  • The calls in your own code. The plan shows each one before anything is written.

Four of these hold a secret: .aim-token, .env.aim, .aim-setup and the env file. When your project is inside a git repository (a .git in its folder or in a folder above it), the tool runs git to ask about each of them before it writes it, and changes nothing with it. A file git already tracks gets no secret. Neither does one that git does not ignore, or one git cannot be asked about, for example when git is not installed, or when a variable such as GIT_DIR sends git to another repository. The tool then stops, writes nothing and says what to check.

Test mode

A new setup is in test mode. A payment sent in test mode is stored as test money and kept out of the real-money figures. The prompt never leaves test mode. You do that yourself when you are ready: node aim.mjs go-live.

What "Connected" means

Your dashboard shows "Connected ✅" once the platform has had one check call made with your connection key. It means your project can reach the platform with a key that works. It does not mean a sign-up or a payment has arrived yet, and it does not show that your code calls the sender: the check call is made before the agent adds those calls. Events come once the calls are in your code and your server runs with them.

How to undo

Run node aim.mjs uninstall in the project folder. It shows everything first. It revokes the key and the permission on the platform, deletes the files it wrote that are unchanged, asks before it deletes the log, and deletes itself last. It leaves the env file with the three secret values, which is yours, and the line in .gitignore that keeps it out of git, and it says so. It does not change your own code: it lists the lines that still call the aim/ folder, and you or your agent take those out.

You can also revoke a key at any time on the Settings page of your company.

Privacy

The privacy page says what the service stores, and the terms say what you agree to by using it.