# Workplace from Facebook

More and more companies are using Facebook Workplace to connect all members of their organisation. Your bot can be activated on Workplace too in just a few steps.

{% hint style="info" %}
Configuring your bot for Workplace is only possible in our [production environment](https://cms.chatlayer.ai).
{% endhint %}

Here's how to configure your bot for Workplace:

* Open your bot
* Go to the Channels tab
* Click "+" next to the Workplace line in the Channels table
* Click "Connect Facebook Workplace"
* Log into Workplace
* Add Chatlayer to Workplace, configure the name and permissions as you desire

![](https://2786867680-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LLTwFwbOqJj4dDhg8Ju%2F-M1Uu4NFXAlXzlfmRK3y%2F-M1VP6XdY4oWCoNJPStK%2Fimage.png?alt=media\&token=907772fb-fb3f-48bd-84d3-ab0a94001adb)

{% hint style="warning" %}
It's only possible to install the Chatlayer.ai Workplace integration if you're a Workplace Admin.
{% endhint %}

* After a couple of seconds, Facebook Workplace will be successfully set up for your bot

### Talking to your Workplace bot

Your users can find the bot under Home > See more > Integrations > {bot's name}

![](https://2786867680-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LLTwFwbOqJj4dDhg8Ju%2F-M1Uu4NFXAlXzlfmRK3y%2F-M1VPYasi9y8oCPHS6ay%2Fimage.png?alt=media\&token=fb35e2dc-03fa-42b3-84fd-79327970ccec)

Clicking the "Message" button will allow the user to start a conversation

### Using email addresses

The Chatlayer.ai Workplace app has access to a Workplace user's email address. When you've connected your bot to the Workplace channel, you can use the variable {email} in your flows, which will be filled with the user's e-mail address. Read more about using variables on our platform [here](https://docs.chatlayer.ai/~/changes/zWOY8fNiBBrqneKkuGvA/tutorials/tutorial-your-first-bot/tutorial-conditional-flow-navigation).

### Uninstalling

If you want to disconnect your bot from Workplace, go to the Admin Panel, click on your bot integration, and click on Uninstall.

![](https://2786867680-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LLTwFwbOqJj4dDhg8Ju%2F-M1Uu4NFXAlXzlfmRK3y%2F-M1VQ6uhX2Yu16eZxDd2%2Fimage.png?alt=media\&token=feb979a8-a1ee-411c-8376-df17385911a5)
