Skip to main content
With Slack installed, your team talks to the Morada OS assistant without leaving Slack: in a direct message with the app, or by mentioning the app in a channel. Each person uses their own Morada OS account, with the same access and the same credits as in the chat, and nothing is done without the OK of whoever asked. See what it looks like for the people who use it. This page is for whoever administers the organization in Morada OS. It takes about 10 minutes, and you do it all on your own, with no one from Morada on a call.
This is not the Slack connector. The connector, in Conectores (Connectors), lets the assistant read and write in Slack as you, from inside Morada OS. This is the opposite direction: Morada OS becomes an app inside your company’s Slack, and people talk to it there.

Before you start

  • In Slack, you need to be allowed to create apps in the company’s workspace. If your Slack restricts that, ask whoever administers Slack.
  • An icon, if you want one: a square PNG image, 512 to 2000 pixels.
The app belongs to your company: you create it in your Slack from a ready-made description that Morada OS generates (the manifest: the app’s name, the permissions it asks for and the Morada OS addresses). That way it carries the company’s name and icon and, being an internal app for Slack, it answers without the limits Slack applies to outside apps.

Step by step

Click the button with your initials at the bottom of the sidebar, open Configurações > Conta > Canais (Settings > Account > Channels), choose Slack and open the Administração (Administration) tab. Only organization administrators see this tab.
Canais in the Conta section of Settings, with Slack and Microsoft Teams cards showing each account connection status
The Administração tab shows five steps in order when the channel has not been installed yet. Keep that page open in a tab: you come back to it between steps.
The numbers in the images match the steps on this page.
1

Name the app

In Nome do app no Slack (App name in Slack), write how the app will appear in Slack, up to 35 characters. By default, it is the assistant’s name in Morada OS.If the organization has more than one workspace in Morada OS, also choose Onde ficam as conversas do Slack (Where Slack conversations live): the workspace that receives the conversations of anyone who has not picked another one in their own preferences.Click Salvar e continuar (Save and continue).
The Slack page at step 1, with the Nome do app no Slack field and the Salvar e continuar button marked
You see: step 1 with a ✓ and the app’s name and step 2 open, with the manifest.
2

Create the app in Slack

Step 2 of the Slack page, with the Copiar manifesto, Abrir apps do Slack and Já criei o app buttons marked
  1. Click Copiar manifesto (Copy manifest) and then Abrir apps do Slack (Open Slack apps). If Slack asks, sign in with your company Slack account.
  2. In the Your Apps list, click Create New App.
    Slack's Your Apps list, with the Create New App button marked
  3. Choose From a manifest. You see: the Create from a manifest window, with a sample manifest.
  4. Choose the JSON tab and delete all the sample text. In Workspace, choose the company’s Slack workspace.
    The Create from a manifest window, with the JSON tab and the Workspace field marked
    Paste the manifest you copied in Morada OS and click Next.
    The Create from a manifest window with the Morada OS manifest pasted and the Next button marked
  5. You see: Review your app, with what the app does and the permissions it asks for. Click Create and Install.
    The Review your app window, with the Create and Install button marked
    If Slack asks you to authorize the app in the workspace, authorize it. If it says it could not verify the events address, carry on: step 4 takes care of that.
  6. In the new app, in Basic Information, Display Information, upload the icon and click Save Changes.
  7. Back in Morada OS, click Já criei o app (I created the app). You see: step 2 with a ✓ and step 3 open.
3

Paste the app's credentials

In the Slack app, in Basic Information, App Credentials, copy the three values into the Morada OS fields: Client ID, Client Secret and Signing Secret. The Client Secret and the Signing Secret show when you click Show. Click Salvar credenciais (Save credentials).
Step 3 of the Slack page, with the Client ID, Client Secret and Signing Secret fields and the Salvar credenciais button marked
You see: step 3 with a ✓ and Credenciais salvas. (Credentials saved.), and steps 4 and 5 open. The values are stored encrypted and are not shown on screen again.
The Client Secret and the Signing Secret are the app’s passwords. Paste them only in Morada OS; never send them by email or chat.
4

Confirm the events address in Slack

When you created the app, Slack tested the Morada OS address before the credentials existed, and the test failed. Now that they are saved, ask for a new test: open the app at api.slack.com/apps, go to Event Subscriptions and click Retry next to Request URL. You see: Verified next to the address.
Steps 4 and 5 of the Slack page, with the api.slack.com/apps link and the Instalar no Slack button marked
5

Install in Slack

Click Instalar no Slack (Install in Slack). Slack asks you to authorize the app in the workspace: click Allow.You see: the Slack page again, with the Slack instalado. (Slack installed.) notice and the app’s health instead of the steps.
The Slack page with the Ativo badge, the app's health and the Slack instalado notice

After installing: tell your team

  • Each person connects their own Slack account, once, before the app answers them. It is in Configurações > Conta > Canais > Slack (Settings > Account > Channels > Slack), with Conectar minha conta (Connect my account) (see Connect your account). Until then, the app does not use the AI or spend credits: it only shows the person a Conectar minha conta button that opens the Slack page in Canais. That goes for you too.
    Slack page with the Conectar minha conta button marked
  • The app recognizes each person by the email in their Slack profile. Whoever is going to use it needs a Morada OS account with that same email. Invite anyone who does not have one yet.
  • The app joins channel by channel. It only receives mentions from the channels it belongs to. When someone mentions the app in a channel it is not in, Slack offers to invite it; in a private channel, invite the app in each channel where it will be used.
Send your team the page Use Morada OS in Slack: it explains how to connect, talk and approve.

Check that everything is working

After the installation, the Administração (Administration) tab of the Slack page, in Canais, shows the app’s health:
The Slack page with the Ativo badge and the Eventos, Último erro, Assinatura, Permissões, Pessoas and Nome no Slack rows
For organization administrators, the Instalação da organização (Organization installation) badge on the card in Canais sums up the situation: Em configuração (Setting up) while steps are missing, Ativo (Active) when all is good, Precisa de atenção (Needs attention) when the manifest changed, a permission is missing or Morada OS is refusing messages, and Sem acesso (No access) when the app was uninstalled or lost its access in Slack. Below the table are Nome e workspace (Name and workspace; just Nome, Name, when the organization has one workspace), Manifesto (Manifest) and Trocar credenciais (Replace credentials). When the manifest changes, it shows up in the notice above the table instead of under Manifesto.
You can also ask in the Morada OS chat: “o Slack está instalado? está tudo certo com ele?” (is Slack installed? is everything fine with it?). The assistant reads the same status the page shows and tells you what to do.

When Morada OS asks for a new manifest

When Morada OS starts needing something new from Slack, the page shows O manifesto do app mudou. (The app’s manifest changed.), with the new manifest right below, and the card in Canais shows Precisa de atenção (Needs attention) for organization administrators.
The O manifesto do app mudou notice, with the Copiar manifesto and Já atualizei o manifesto buttons marked
1

Update the app in Slack

Click Copiar manifesto, open the app in Slack’s app list, go to App Manifest, paste the new manifest in place of the current one and click Save Changes. If Slack asks, reinstall the app.
2

Tell Morada OS

Back in the Administração tab of Slack, in Canais, click Já atualizei o manifesto (I updated the manifest). You see: the notice goes away and the installation returns to Ativo (Active) on the card in Canais.

Remove Slack

To take the Slack app out of your organization, for example to install it again from a clean start, open Configurações > Conta > Canais > Slack > Administração (Settings > Account > Channels > Slack > Administration) in Morada OS, open Remover o Slack (Remove Slack) and click Remover o Slack da organização (Remove Slack from the organization). Morada OS asks you to confirm before it removes anything. When you confirm:
  • The app stops answering in Slack for everyone in the organization.
  • Morada OS disconnects the app from the Slack workspace and deletes the credentials it kept for it.
  • The conversations stay in Morada OS.
  • To use Slack again, an organization admin makes a new installation, and each person connects their account again.

Delete the app in Slack

The app keeps existing in Slack until you delete it. After the removal, the Administração tab links to the app’s page in Slack: under Basic Information, choose Delete App. The notice stays on the page until someone starts a new installation.

When something goes wrong

The messages’ security key does not match the Signing Secret saved in Morada OS, which happens, for example, when it is changed in Slack. In Trocar credenciais (Replace credentials), on the Slack page, paste again the three values from Basic Information in the Slack app: Client ID, Client Secret and the current Signing Secret. After saving, repeat the Retry in Event Subscriptions.
Nobody gets answers until you install it again. Click Instalar de novo (Install again) on the Slack page. Pending approvals stay in Morada OS.
Save the Client ID, the Client Secret and the Signing Secret (step 3) before clicking Instalar no Slack (Install in Slack).
Click Instalar no Slack (Install in Slack) again to start over.
Check that the saved Client ID and Client Secret belong to the app you created, replace them if needed in Trocar credenciais, and try again.
Install the app in a Slack workspace, not in the whole Enterprise Grid organization.
Install it again in the same workspace and with the same app as the first time.
Each Slack workspace is linked to a single organization. Choose another Slack workspace or talk to Morada’s support.
The app looks for a Morada OS account with the email in the person’s Slack profile. If it finds none, invite the person to Morada OS with that email. If it finds more than one, review the accounts that use that email.
Check that the app is in the channel: Slack only tells the app about a mention in a channel it belongs to, and offers to invite it when someone mentions it in a channel it is not in. Also check that the person connected their account and that the channel is not shared with another company: the app does not answer in those channels.