5. Deploy
Once your flow is wired and the Agent record exists in /org, ship the code to the sandbox.
To deploy you must have copied the deploy command from the sandbox administration's Space setup into your package.json file (see section 3.2).
Run the following in the project directory:
npm run deploy
This deploys your changes to the sandbox.
If your setup is correct, you will see:
If you get an error — go through the instructions for the sandbox Space and Agent setup again and check that the Agent Name, .flow.json file name, and Start Node label match the values you entered in the sandbox administration for your Agent.
Next: 6. Verify in the Chat →