# Configure a Microsoft Teams Enterprise Workbot for Embedded users
This guide explains how Embedded partners can enable a Microsoft Teams Enterprise Workbot for their end customers.
LIST YOUR BOT IN THE MICROSOFT TEAMS APP MARKETPLACE
To list your white-labeled Workbot in the Microsoft Teams app marketplace, contact your Customer Success Manager.
# Prerequisites
Before you begin, ensure you have a Microsoft Teams Enterprise Workbot. If you haven’t created one, refer to the Create a Microsoft Teams Enterprise Workbot guide.
# Steps
Complete the following steps to configure a Microsoft Teams Enterprise Workbot for Embedded customers:
- Download and store the Microsoft Teams app package
- Share the custom OAuth profile with an end customer
- Build your recipes
- Export the Workato manifest
- Import the package to the customer workspace
- Ask the customer to install the bot in their Microsoft Teams instance
- Authenticate the customer's Workbot for Teams connection
# Download and store the Microsoft Teams app package
Complete the following steps to download and store the Microsoft Teams app package:
Sign in to the Microsoft Teams Developer Portal (opens new window).
Go to Apps and select the app you created in the Create a Microsoft Teams Enterprise Workbot guide.
Go to Publish > App package.
Click Download app package to download the app package. Save this file without modification to share with your customers.
# Share the custom OAuth profile with an end customer
Share the custom OAuth profile created in the Create a Microsoft Teams Enterprise Workbot guide with your end customers. This profile allows their Microsoft Teams account to access bot settings defined in your Microsoft Teams account, so they don’t need to create an OAuth app in their Microsoft Teams instance.
Complete the following steps to share the custom OAuth profile:
Sign in to your Workato account.
Go to Manage customers.
Select the customer.
Go to Settings > Custom OAuth profiles.
Click Assign a profile to set a custom OAuth profile for your customer workspace. The Assign an OAuth profile dialog appears.
Select Workbot for Teams from the Select app drop-down menu.
Select the custom OAuth profile created in the Create a Microsoft Teams Enterprise Workbot guide.
The customer workspace uses this profile by default when users create Workbot for Teams connections. You must share the OAuth profile individually with each customer workspace using this method. You can also manage OAuth profiles programmatically with custom OAuth profiles API endpoints.
# Build your recipes
Develop recipes using the Workbot for Teams connection to deploy in customer workspaces.
# Export the Workato manifest
After building recipes and sharing the OAuth profile, export the manifest containing bot recipes to the customer workspace. To export the Workato manifest, refer to the Create a manifest guide or complete the following steps:
Export the Workato manifest
Go to Tools > Recipe lifecycle management > Export.
Click Create a new manifest.
Enter a name for the manifest in the Manifest name field.
Use the Source folder drop-down menu to select the source folder. All recipes and dependent assets from this folder and any subfolders become part of the manifest.
Click Next.
Click Create manifest.
Click Build and export package.
Click Download to download a zip file containing the manifest content.
# Import the package to the customer workspace
To import the package to the customer workspace, refer to the Import a package guide or complete the following steps:
Import the package to the customer workspace
Switch to the customer workspace where you plan to import the manifest.
Go to Tools > Recipe lifecycle management > Import.
Click Import.
Select the zip file containing the package in Select zip file.
Use the Target folder drop-down menu to choose the import location.
Click Next.
Review the package details to confirm how it integrates with the customer workspace.
Click Next to start the import.
Click Finish when the import completes.
# Ask the customer to install the bot in their Microsoft Teams instance
Complete the following steps to guide the customer in installing the bot in their Microsoft Teams instance:
Share the generated zip file containing the Microsoft Teams app package with the customer. This file was created in the Download and store the Microsoft Teams app package step.
Instruct the customer’s Microsoft Teams admin to upload the app package. They should sign in to Microsoft Teams, go to Apps > Manage your apps > Upload an app, and select Upload a custom app to complete the installation.
# Authenticate the Microsoft Teams bot connection in the customer’s Workato account
After importing the package in the customer workspace, the Workbot for Teams connection becomes available. Ask the customer to authenticate this connection using their credentials for the Microsoft Teams instance where they plan to install the bot.
The connection automatically uses the shared custom OAuth profile, ensuring the app package installed by the customer connects to the app configured in your Microsoft Teams instance.
CUSTOM OAUTH PROFILE FIELD DISABLED FOR EMBEDDED CUSTOMERS
When the customer authenticates the Workbot for Teams connection, the custom OAuth profile selector will be disabled. The connection will still use the shared custom OAuth profile, and no other custom OAuth profiles will be available for this app in this workspace.
# Outcome
The recipes in the customer workspace are ready to be started. With the custom OAuth profile included in the connection, the bot should function as expected in the customer’s Microsoft Teams instance.
Last updated: 11/6/2024, 1:23:53 AM