# Set Up Prism















Prism is the Slack app Surface installs. It is the same app that posts your
workflows' lead alerts, so a workspace that already gets Surface alerts has
Prism installed and needs one more Slack permission. A workspace that has never
connected Slack installs it once, from the same place.

<Info>
  One Slack workspace connects to exactly **one** Surface environment: the one an
  owner or admin installs it from. That person shows as the connector in Prism's
  Home tab, and Prism reads that environment and nothing else.
</Info>

## Before You Start [#before-you-start]

* You are an **owner or admin** of your Surface team. A workspace is tied to an
  environment only when the person who installs Prism is one.
* You can install apps in your Slack workspace. That is Slack's own setting,
  not Surface's.

## Connect Slack [#connect-slack]

Open **Integrations** in Surface. The page comes in one of two layouts: pick the
tab that matches what you see.

<Tabs>
  <Tab title="Newer layout, with an Alerts category">
    <Steps>
      <Step title="Open Slack under Alerts">
        Click the **Alerts** category and open the **Slack** card. If your
        workspace already sends alerts to Slack, the card reads **Needs access**.

        <Frame caption="Slack connected for alerts, waiting on Prism's permissions.">
                    <img alt="The Slack card reading Needs access" src="__img0" />
        </Frame>
      </Step>

      <Step title="Start the install">
        **Never connected Slack?** The service reads **Not set up**. Click
        **Set up** and Slack opens in a new tab.

        <Frame caption="No Slack connection yet: Set up installs the app with Prism's permissions.">
                    <img alt="The Slack panel with Set up" src="__img1" />
        </Frame>

        **Already connected?** The panel lists the permissions Slack has granted
        and, with a lock, the ones Prism still needs. Click **Grant access**.

        <Frame caption="The permissions with a lock are the ones Prism adds.">
                    <img alt="The Slack panel with Grant access" src="__img2" />
        </Frame>

        Surface says what the new permission covers before it sends you to
        Slack. Click **Continue to Slack**.

        <Frame caption="Only Prism's permission is added. Your alerts keep working throughout.">
                    <img alt="Add one permission to Slack" src="__img3" />
        </Frame>
      </Step>

      <Step title="Approve in Slack">
        Pick the workspace and click **Allow**. Slack adds the permissions to the
        app you already have, so nothing is reinstalled. The tab closes when it
        is done.
      </Step>

      <Step title="Check it worked">
        Back in Surface, every permission shows a tick and the Slack service
        reads **Active**. Prism answers in that workspace straight away,
        read-only.

        <Frame caption="Every permission granted. Slack is used by your workflows and by Prism.">
                    <img alt="The Slack panel, every permission granted" src="__img4" />
        </Frame>
      </Step>
    </Steps>
  </Tab>

  <Tab title="Older layout, with Authenticate buttons">
    <Steps>
      <Step title="Find the Slack card">
        **Never connected Slack?** Click **Authenticate** on the Slack card and
        approve in Slack.

        **Already connected?** The card says &#x2A;Re-authorize Slack to enable
        mentions, App Home and Prism.*

        <Frame caption="The Slack card when the install predates Prism.">
                    <img alt="The Slack card with Re-authorize" src="__img5" />
        </Frame>
      </Step>

      <Step title="Re-authorize">
        Click **Re-authorize**, pick the workspace in Slack and click **Allow**.
        Slack adds Prism's permissions to the app you already have. When you
        come back the notice is gone, and Prism answers in that workspace,
        read-only.
      </Step>
    </Steps>
  </Tab>
</Tabs>

<Tip>
  The Slack step of a workflow shows the same notice under **Account is
  successfully connected**, with a **Re-authorize Slack** button. It runs the
  same install, so you can do it from there too.
</Tip>

## Invite It Where You Work [#invite-it-where-you-work]

`/invite @Prism` in any channel, public or private. DMs work with no invite.
Prism answers a mention only in a channel it is a member of.

<Note>
  Prism is listed in Slack as **Prism**, which is the handle to `/invite` and the
  name in your sidebar. It used to appear in Slack as **Surface**, and your
  workflow alerts post under the new name too.
</Note>

## Slash Commands [#slash-commands]

| Command                   | What it does                                                                           |
| ------------------------- | -------------------------------------------------------------------------------------- |
| `/prism status`           | Which environment, which modules, any Slack permission still missing, read-only or not |
| `/prism remember <thing>` | Teach it something without starting a conversation                                     |
| `/prism digest`           | Toggle the [weekly digest](https://www.withsurface.com/docs/platform/sam/schedules) in this channel                    |
| `/prism shared`           | Who can ask in a [Slack Connect channel](https://www.withsurface.com/docs/platform/sam/shared-channels)                |
| `/prism`                  | The commands, and how to ask a question                                                |

Every reply is ephemeral: only you see it.

<SlackThread channel="#marketing">
  <SlackMessage from="Priya" time="11:20">
    `/prism status`
  </SlackMessage>

  <SlackMessage from="prism" time="11:20">
    ✅ Connected to **Acme Production**

    Enabled: Surface CMS, AI Visibility, Content Analytics & Review, Surface App

    Read-only
  </SlackMessage>
</SlackThread>

## The Home Tab [#the-home-tab]

Click Prism in your Slack sidebar. Everything it will do without being asked is
listed there, with a way to take it back:

* The environment it is connected to, and who connected it
* Any Slack permission it still needs, and who can grant it
* Starter questions with an **Ask** button
* **What I remember about this workspace**, each note with a **Forget** button
* **On a timer**: every schedule and digest, in *your* timezone
* Shared channels you've opened to everyone in them

## Capability Modules [#capability-modules]

The Surface team decides which of these Prism gets. A new workspace has all of
them. A tool outside an enabled module is never shown to the model, so it
cannot be called.

| Module                         | Covers                                                                          |
| ------------------------------ | ------------------------------------------------------------------------------- |
| **Surface App**                | Forms, responses, leads, analytics, workflows, lead scoring, and your **Vault** |
| **Surface CMS**                | Content types, entries, assets, scheduling                                      |
| **Content Analytics & Review** | Blogs, the review pipeline, content performance, AI traffic                     |
| **AI Visibility**              | Tracked prompts, cited sources, visibility scans                                |

<Note>
  **Vault has no separate switch**; it arrives with Surface App. Prism reads your
  Vault before it drafts anything, and the **Save in Vault** button under a good
  answer files it back. See [what it remembers](https://www.withsurface.com/docs/platform/sam/memory).
</Note>

**Writing** starts off. Prism is read-only until the Surface team turns writes
on for your workspace, and it says so when you ask for a change.

## Moving or Stopping It [#moving-or-stopping-it]

A workspace stays with the environment it was first connected from.
Re-authorizing Slack from that environment refreshes the connection and makes
you its connector; doing it from another environment leaves the workspace where
it is. To point a workspace at a different environment, ask the Surface team.

To stop Prism, uninstall the app from your Slack workspace. That also stops your
workflows' Slack alerts, which run on the same app. Install history is kept for
support, and reinstalling from the same environment restores the workspace.

## Coming From SAM [#coming-from-sam]

Before Prism, SAM ran as its own Slack app, **Surface Marketing Agent**, with
`/surface` commands. If your workspace used it, the Surface team copies its
memories, schedules and history into Prism. An owner or admin connects Slack as
above, you invite Prism into the private channels your copied schedules post to
(the Surface team tells you which), and then the old app is removed. The Surface
team switches Prism on for your workspace once the old app is gone, so the two
never answer side by side.

<Cta title="Want help with the first week?" href="https://app.withsurface.com/book/saharsh-agrawal-scheduler" label="Book a 15-minute call">
  We'll check your setup, turn on writes if you want them, and walk through the
  first week with you.
</Cta>
