# Genies

Source: https://docs.stacksync.com/ai-agents

Genies are AI agents that live in your Stacksync workspace. Each genie has a **master prompt** that defines its job, and **skills** built on your existing connections (Salesforce, NetSuite, Hubspot, and more) that the genie can use to get real work done.

You talk to genies through **interfaces**: Slack, Microsoft Teams, Google Chat or Email. One genie can have several interfaces at once, the same copilot can answer a Slack mention, a Teams thread, a Google Chat message and an inbound email.

## Create a genie

### 1. Click Genie in Create Resources

<figure>
  <img src="/https/docs.stacksync.com/images/ai-agents/create-resource-genies-tile.webp" alt="Stacksync welcome page with the &#x22;Genies&#x22; tile highlighted among the create-resource tiles like Workflows, Syncs and Connections." width="1600" height="977" loading="lazy" decoding="async" />

  <figcaption />
</figure>

### 2. Describe the Genies task

<figure>
  <img src="/https/docs.stacksync.com/images/ai-agents/genie-job-description-prompt.webp" alt="&#x22;Give your Genie a job description&#x22; screen with the prompt &#x22;Create a Genie that enriches my contacts&#x22; and a &#x22;Build genie&#x22; button." width="1600" height="1032" loading="lazy" decoding="async" />

  <figcaption />
</figure>

Click Build Genie and review the Genie's instructions on the next page

### 3. Add an Interface

Open the genie's **Interfaces** section and click **Add**. Follow the setup page for your channel:

* Slack
* Microsoft Teams
* Google Chat
* Email

<figure>
  <img src="/https/docs.stacksync.com/images/ai-agents/create-genie-interfaces-step.webp" alt="&#x22;Create a new Genie&#x22; Interfaces step listing Slack, Microsoft Teams and Email channels, each with a Configure link." width="1600" height="500" loading="lazy" decoding="async" />

  <figcaption />
</figure>

### 4. Add Skills

Skills are modules the genie may execute (create a record, send a message, run a query). Each skill uses one of your workspace connections. You can require an **approval** before a skill runs.

Your workspace's [private workflow connectors](/developers/getting-started-with-stacksync-cli/host-a-private-workflow-connector) appear here with your other apps. When the setup suggests one of their modules, it turns on **Require approval**.

<figure>
  <img src="/https/docs.stacksync.com/images/ai-agents/genie-skills-hubspot-modules.webp" alt="Genie Skills step with a HubSpot skill where Search Records and Update Records are enabled, each with a &#x22;Require approval&#x22; toggle." width="1600" height="709" loading="lazy" decoding="async" />

  <figcaption />
</figure>

### 5. Review the Genie's configurations and Click Create

Your Genie is now ready to be used for your Enterprise use cases

## Access rights

<Callout type="warn">
  **If your genie doesn't answer teammates, check this first.** By default, a genie only answers people who are signed-in members of your Stacksync workspace. To let everyone in a connected channel use the genie, open the genie's **Access rights** tab and set **Who can use the Genie** to **Public (authentication not required)**.
</Callout>

## Status

The **Access rights** tab also has a status toggle. Setting a genie to **Inactive** stops it from handling new messages on every interface and suspends its scheduled tasks.