Adding a button to a Snap

Dear Experts

I am now in developing Snaps. I am trying to create an Account Snap with works similarly to the REST Snap. I am however struggling with the following points:

  • How can I add a button to the UI (Similar to the “Authorize” button in the Rest Snap).
  • Is there an easy way to redirect/pop up a login page after one has pressed this button.

Thanks in advance for your tips.

There’s no support in the Snap SDK for developing accounts. The authorize button is rendered by the UI and isn’t data driven like other parts of the Snap UI.

@johnbilay, currently that isn’t possible. The “Authorize” button you referenced is specifically part of SnapLogic’s OAuth 2.0 support. We don’t have a mechanism to expose custom UI controls in the Snap’s presentation.