For security reasons, this demo page works only with existing agents identified by agent ID. When you implement this in your code, you can also identify agents by email/name, and create new agents.
The Embed API docs can be found here