I’m building a pack that allows users to send emails using SendGrid, which requires an API key. Following the instructions, I’ve used pack.setUserAuthentication and everything works perfectly.
The problem is that it seems like my function is looking for the user’s private account, whereas I want to have the DocMaker set a shared API keys that all users can use to take actions.
In the settings. Coda lets the user specificly set the shared account credentials, as I have them set in the following image.
The intention is that each “organization” create their own API key with SendGrid
There’s no point in api key created per user, it makes sense for all users shared on the doc to use the same API key (seems like this is exactly the use case described in the shared account section of the settings)
When logged in with a different user, that user sees that a shared account exists, but they can’t select it as their private account
I’ve tried using pack.setSystemAuthentication just to cover all the basis. The completely removes API key settings from the end user - so doesn’t not fit my use case.