Hi Carlos,
You should:
- Create organisation (admin auth)
- Store org id
- Create dashboard user (with admin auth) that is bound to org id, this returns your API key
- Compete rest of flow
A “User” here is a dashboard user - in this case think of it like a slack bot.
If you mean you want to create a portal developer that’s different. You’ll still need a dashboard user to perform actions as.
Take a look at the setup script we use to bootstrap the docker QuickStart - it does it all with the API, the only things missing are key and API creation
https://github.com/lonelycode/tyk_quickstart/blob/master/setup.sh
Hope that’s clearer.
M.