Skip to main content
The prompt below hands the whole integration to a coding agent: install, credentials, code, run, verify. Paste it into an agent session opened in your Unity project’s repository. Before you paste:
  1. Recommended: connect the PIO MCP server in the same agent, so it can fetch its own credentials and check its own work.
  2. Otherwise, have the project’s API key, account id, and project id from its settings page ready; the agent will ask you for them.
What to expect: the agent edits Packages/manifest.json, adds one bootstrap script, places one GameObject in your startup scene, runs the game, and verifies the result. It reminds you to confirm the child-directed answer if it created the project; without the MCP server it also stops for decisions and event types. The guide uses code extracted from a compiling SDK sample. Your agent still needs pilot access, project credentials and a successful verification run.