Nylas integration

Hi guys,
I’m testing this new feature but without success.
I set in admin area / settings:


Then I’ve been add a block under account page (CRM space):

I don’t know what I have to set under compenent ID.

When try to access:
image
click on CONNECT WITH NYLAS I got:
SSO Error: state token mismatch
and the url:
mycorteza.com/auth/external/nylas/callback?reason=Sorry%2C+you+must+provide+a+valid+`client_id`.+The+`client_id`+request+parameter+should+be+the+Client+ID+of+your+application+in+the+Nylas+Dashboard.&error=access_denied

It should works?
How?

Hello there,

Make sure you properly entered the Client key(Client ID) and Secret(Client Secret) from the nylas dashboard /settings/general

Secondly under /settings/authentication, make sure you have a valid callback URL that points to your-corteza-domain/auth.

After that you need to make a component in the Nylas dashboard in the your-app/components
We suggest starting with Composer, you can get the componentID that you need from either the URL or if you scroll to the bottom of the configuration page of the component.

These steps should be enough to make the Nylas components work in Corteza, if not there might be some other issue.

The guide will be added to the documentation after the implementation is improved further.