Add the code below to your project to save the Token to Visilabs.
addEventListener('register', async (token) => { visilabsApi.register(token, (result) => { }) }, (notificationPayload) => {}, euroMessageApi)
You can review the sample usage in line 35 on this page.