The Tyk Dashboard is the simplest way to generate a new token.
Step 1: Navigate to the keys management page
Step 2: Click the add key button
Step 3: Set the key access rights
Leave all the defaults except for selecting
Test API from the access rights drop-down and clicking
Add, this will add an access rule to the token for the API we just created. This is important, Tyk keys must have an access rule set.
Step 4: Click the create button
The page should scroll to the top and you will see the new key on the right-hand side in a green box.
That’s it, you’ve created a key – now we can try and use it.