Product Dev Back to Ghost

Setting up a Slack integration with Ghost

Since the launch of Ghost 0.8, you can now hook your blog up to Slack - this is the first of hopefully many more integrations to come. This integration in particular is perfect for teams who want to automatically notify specific Slack channels of new content posted to their blog.

Note:The Slack integration will likely move to an internal app, and then a default installed external app over the coming months.

Setup the integration

To setup your blog to post directly to a designated Slack channel within your team, access the Apps settings from your Ghost admin panel.

Next, under Available integrations, click Configure next to the Slack integration.

On the Slack configuration screen, you'll need to set up a new incoming webhook, and add it to the webhook URL field.

If you're not sure where to go to create the webhook URL, you can go here if you're logged into Slack.

Next, on the Slack Incoming Webhooks screen, select the channel you'd like to post your content to, and click the "Add Incoming WebHooks integration" button.

This will generate a webhook URL. Copy the webhook URL.

If you've generated your webhook URL successfully, if you navigate to the channel you're wanting to post to on Slack, you should see something similar to this.

Next, head back to your Slack configuration settings within Ghost. Once there you need to paste the webhook URL into the webhook URL field.

When you've finished, click the Send Test Notification button to test the integration. If the test was successful, you should see something like this in the channel on Slack,

When you've finished, each time you post to your blog, the slack integration should post to the channel.

Need a hand?
If you're having trouble getting the integration setup, feel free to reach out to the community on our Slack team page, or drop us a message to [email protected].