There is some nuances to the API connector and options.
Obviously you don’t want to give your API users an Admin token - that gives full read access to any exposed Data API points. (just to get that off the table)
Your Data API Users can use a username and password - you need to create an authentication end point (its just a public API endpoint you create that returns an authentication token. (search the forum for how to do that)
Then having got an authentication token from the authentication endpoint - your users can authenticate to the Data API with that token, and critically - Privacy Rules for that user will apply. ie design your privacy rules to expose data as per your requirements. Optionally you could have separate user accounts for API users vs “Web UI” users if that suited your design better.
Another option is to use a public Backend workflow that returned the data.
The pros of this design is that you have full control on what the API looks like, and you could add , throttling, observability, logging etc. You also decouple the database from the API - meaning you can change the API and Database independently from each other.
The cons are you might have to implement pagination, and you have to come up with your own API design.
Good luck 
1 Like