Before You Install the Recipe
You must perform the following configuration tasks on your Marketo and Slack instances in order to connect to these external systems using Oracle Integration and successfully post notification messages in Slack for new Marketo leads.
Configure Marketo
Complete the following tasks in your Marketo instance to successfully connect to it from Oracle Integration.
- Create an API only user role.
- Create a customer service.
- Obtain the Client ID and Client Secret.
- Obtain the Munchkin ID.
Configure Slack
Complete the following tasks in your Slack instance to successfully connect to it using Oracle Integration and post notification messages.
Create and Configure a Slack App
You have to create a Slack app, and configure it to receive notifications for new leads in Marketo.
- Create a Slack App.
- Get the Slack App API credentials.
- Set permission and scope for your Slack App.
- In the left menu, under Features, select OAuth & Permissions.
- In the OAuth & Permissions page, go to the Redirect URLs section.
- Click Add New Redirect URL and enter the URL of your Oracle Integration instance. For example,
https://your_instance_URL:443/icsapis/agent/oauth/callback
, whereyour_instance_URL
is the Host URL of your Oracle Integration instance. - Click Add, and then click Save URLs.
- Scroll to the Scopes section, and under User Token Scopes click Add an OAuth Scope.
- Enter
chat:write
. - Press Enter.
Set Up Your Slack WorkSpace and Channel
You have to set up a workspace in Slack, create a channel in the workspace, and then add people into the channel who should receive notification messages for events in the Amazon S3 bucket.
- Create a workspace in Slack.
- Create a channel to post notifications.
- On your Slack instance, select your workspace.
- Click the workspace name on the left navigation pane, and from the menu that displays, select Create a channel.
- In the Create a channel dialog, enter your channel’s name in the Name field. For example,
#marketo-leads
. - Optionally, enter a suitable description in the Description field to let others know what the channel is about.
- Click Create.
- Add people to your channel.
- On your Slack workspace, select the channel from the left navigation pane to open it.
- Click Add people
on the top right of the channel.
- In the resulting Add people dialog, enter names, emails, or user groups of people you want to add in the field provided.
- Click Add.