Best answer

Direct link to apikey generate

  • 7 October 2021
  • 1 reply
  • 71 views

Im getting this warning in my zap “consider using a direct link to information about auth field "apiKey"”. Following the link to the documentation it says the label string is being read as markdown and you should do it like this: 

Go to the [API Details](https://my.site.com/manage/api-details) screen from your
Website Dashboard to find your API Key.

 Can anyone explain why this aint workning when i type this in the label field: [Apikey can be generated here](https://mylink.com)

 

Probably just missed something easy, but would appreciate the help.

 

Thanks

icon

Best answer by SamB 7 December 2021, 13:01

View original

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

1 reply

Userlevel 7
Badge +11

It’s been a while since this question was asked so I suspect @tchris will have already figured out the answer to this already, but I wanted to share the answer here for anyone also running into this issue.

The Label field does not accept Markdown which is why the link wasn’t working as expected. The link directing users to where they can find an API Key in the app’s settings needs to be entered into the Help Text field, not the Label field:

803ba3cfb152aadc7e6bff3877f7074e.png

As the Help Text field accepts Markdown this will allow for the link to be rendered correctly. More details on how to set up an API Key input field can be found here: Add an API Key Input Form