Chat21 channel configuration

Tiledesk uses Chat21arrow-up-right as messaging platform. Refer to Architecture overview to undestand the product's modules. In detail the tiledesk-server component uses Chat21 channel for sending chat messages, creating groups, etc.

So in order to correctly configure your Tiledesk installation you MUST configure the following properties:

  • FIREBASE_PRIVATE_KEY. You can get it herearrow-up-right. It is in the form: -----BEGIN PRIVATE KEY-----\ABCD78261TGV...HGAGBA82727\n-----END PRIVATE KEY-----\n. More info about firebase private key herearrow-up-right.

  • FIREBASE_CLIENT_EMAIL. You can get it herearrow-up-right. It is in the form: firebase-adminsdk-******@************.iam.gserviceaccount.com

  • FIREBASE_PROJECT_ID. Get it herearrow-up-right.

  • FIREBASE_APIKEY. Get it herearrow-up-right.

  • FIREBASE_AUTHDOMAIN. Get it herearrow-up-right. It is in the form: CHANGEIT.firebaseapp.com

  • FIREBASE_DATABASEURL. Get it herearrow-up-right. It is in the form: https://CHANGEIT.firebaseio.com

  • FIREBASE_STORAGEBUCKET. You can find it herearrow-up-right. It is in the form: CHANGEIT.appspot.com

  • FIREBASE_MESSAGINGSENDERID. Get it herearrow-up-right. A unique numerical value created when you create your Firebase project, available in the Cloud Messagingarrow-up-right tab of the Firebase console Settings pane.

  • CHAT21_ENABLED. Enable Chat21 channel with true value.

  • FIREBASE_APP_ID. Get it herearrow-up-right.

  • CHAT21_URL. Get it herearrow-up-right. It is in the form: https://mytiledeskinstallation87.cloudfunctions.net

  • CHAT21_ENGINE. Enter the default value firebase

  • CHAT21_APPID. Enter the default value tilechat

  • CHAT21_ADMIN_TOKEN. The Chat21 admin token. The default value is chat21-secret-orgAa,. See herearrow-up-right to change it.

You can find other information regarding the env variable here: https://github.com/Tiledesk/tiledesk-server/blob/master/.env.samplearrow-up-right

Last updated