Enabling Schedule Synchronization in a NexJ CRM environment
To integrate the optional NexJ Schedule Synchronization module into an existing NexJ CRM environment, complete the following steps.
- Add the nexj:model:nylas mixin to the NexJ CRM environment file, with the appropriate values. For example,XML
<Mixin checksum="<checksum_value>" namespace="nexj:model:nylas" version="<release_version>"/>
Add the following properties to the environment file with the appropriate values.
XMLmeta.nylas.enabled=true nylas.api.adminPassword=<nylasadmin_password> nylas.api.adminUser=nylasadmin nylas.api.applicationId=nylas-api nylas.api.baseURL=<nylas_broker_url> nylas.api.key=<api_key>
The <api_key>, <nylas_broker_url>, and <nylasadmin_password> values are provided or managed by your NexJ support team.Add the following HTTP channel connections to the environment file:
XML<HTTPConnection authentication="none" channel="nylas:Nylas" url="${keycloak.api.url:https://${keycloak.host}/auth}"/> <HTTPConnection channel="nylas:NylasSender" secure="true" url="${nylas.api.baseURL}" user="${nylas.api.adminUser}" password="${nylas.api.adminPassword}"/> <HTTPConnection authComponent="rpc:System.Authentication.OAuth" authentication="custom" channel="nylas:NylasNotificationReceiver" secure="true"/>
- Redeploy NexJ CRM.
On the next deployment, the new Nylas Admin privilege group is created automatically. The nylasadmin system user is automatically added to this group and granted the nylas:NylasManage and rule:RuleView privileges.