# Using the Integration

## Trigger Incidents from Slack

You can trigger incidents in Squadcast directly from a Slack Channel.

To trigger an incident from Slack:

1. Navigate to your Slack channel, type <mark style="color:red;">`/create_incident`</mark>, and click Squadcast - Create an incident in Squadcast.
2. In the pop-up

   1. Pick the Service for which you want to trigger the incident
   2. Give the incident a meaningful title
   3. Provide an informative description if needed
   4. Add an Assignee for the incident, it can be a user/squad/escalation policy

   Click on **Submit**
3. You will now be able to see the newly triggered incident in Squadcast. You will also be notified in the globally configured or the Service specific Slack Channel for the same.

{% hint style="info" %}
**Note:**

You can create an incident for an ongoing conversation/thread, simply click on **More Actions** -> **Create an Incident.**

A modal will open up, and follow the same steps as mentioned above to create an incident.
{% endhint %}

## Incident Actions

When an incident is triggered, the incident notification message in Slack will display options for the following incident actions:

<table><thead><tr><th width="205">Action</th><th>Description</th></tr></thead><tbody><tr><td><strong>Acknowledge</strong></td><td>👍 To acknowledge the Incident</td></tr><tr><td><strong>Reassign</strong></td><td>👉 To reassign the incident</td></tr><tr><td><strong>Resolve</strong></td><td>✅ To resolve the incident</td></tr><tr><td><strong>Add a Note</strong></td><td><span data-gb-custom-inline data-tag="emoji" data-code="1f4dd">📝</span> To add a note to the incident</td></tr><tr><td><strong>Attach Runbooks</strong></td><td>📒 To attach a runbook to an incident</td></tr><tr><td><strong>Create Incident Channel</strong></td><td>To create a slack channel for an incident</td></tr><tr><td><strong>Add Communication Channel</strong></td><td><span data-gb-custom-inline data-tag="emoji" data-code="1f4e3">📣</span>Add a communication channel for the incident</td></tr><tr><td><strong>Update Tags</strong></td><td>🔖 Add a tag for the incident</td></tr></tbody></table>

## Slack Commands

Here is a list of Slack commands that you can use to perform actions of incidents using Squadcast.

### Common Commands

These commands will work anywhere within Slack. When you perform the below commands the system will take the respective actions.

<table><thead><tr><th width="230">Command</th><th>Description</th></tr></thead><tbody><tr><td><mark style="color:red;"><code>/create_incident /sq /sq create /sq new</code></mark></td><td>To provide incident details and create a new incident</td></tr><tr><td><mark style="color:red;"><code>/sq help /squadcast help /sq man /squadcast man</code></mark></td><td>Displays all the slack commands</td></tr><tr><td><mark style="color:red;"><code>/sq oncall</code></mark></td><td>To check who is currently on-call</td></tr></tbody></table>

### Incident Specific Channel Commands

These commands will work only in the channels created for incidents specifically. When you perform the below commands the system will take the respective actions.

<table><thead><tr><th width="234">Command</th><th>Description</th></tr></thead><tbody><tr><td><mark style="color:red;"><code>/sq acknowledge /sq ack</code></mark></td><td>Helps to acknowledge an incident</td></tr><tr><td><mark style="color:red;"><code>/sq reassign</code></mark></td><td>Helps to reassign an incident</td></tr><tr><td><mark style="color:red;"><code>/sq resolve</code></mark></td><td>Helps to resolve an incident</td></tr><tr><td><mark style="color:red;"><code>/sq add_notes</code></mark></td><td>Helps to add notes to an incident</td></tr><tr><td><mark style="color:red;"><code>/sq tags</code></mark></td><td>Helps to add/update tags to an incident</td></tr><tr><td><mark style="color:red;"><code>/sq add_runbooks</code></mark></td><td>Helps to attach/detach runbooks to an incident</td></tr><tr><td><mark style="color:red;"><code>/sq comms</code></mark></td><td>Helps to add a communication card to an incident</td></tr><tr><td><mark style="color:red;"><code>/sq pm /sq postmortem /sq retro /sq retrospective</code></mark></td><td>Helps to create a postmortem for an incident</td></tr><tr><td><mark style="color:red;"><code>/sq archive</code></mark></td><td>Helps to archive an incident-specific channel</td></tr></tbody></table>

*Have any questions?* [*Ask the community*](https://community.squadcast.com/view/home)*.*
