Test and share your Chat apps with AppSheet, as described in the following sections:
- Test your Chat app
- Share your Chat app using automatic configuration
- Share your Chat app using manual configuration
Test your Chat app
Before you share your Chat app, you can test it in Google Chat using your AppSheet account.
To test your Chat app:
- Be sure that you've done the following:
- Configure your Chat app with AppSheet
- Deploy your app.
- For manual configuration only, add your email address to the Visibility field when configuring the Chat API.
- Open Google Chat.
- Click + next to Chat or Spaces.
- Click Find apps in the drop-down.
- Enter the name of your Chat app in the search field. For example:
- Select the Chat app in the list.
The following dialog displays:
- Do one of the following:
- Click Add to space to add the Chat app to a space, enter the space name, and click Add.
- Click Chat to start a direct message (DM). Type hello (or any string not starting with /) to display the Chat app interface.
- Interact with your Chat app to test its features. Enter / to display any slash commands that you added to your Chat app.
Share your Chat app using automatic configuration
This is a preview release of automatic configuration of Chat apps with AppSheet. See product launch stages. Preview offerings are intended for use in test environments only. This feature is not recommended for use in production apps.
To share your Chat app using automatic configuration:
- In the app editor, expand the Share section on the Chat Setup page.
- Perform one of the following steps:
- To share your Chat app with your domain, click Share app with domain and follow the steps described in Share your app with all users in a domain.
Note: Members of the domain are not notified when the Chat app is shared.
- To share your Chat app with individual users, click Share app with individual users and follow the steps described in Share your app with individual users. You can also add the app to an existing Chat space.
- To share your Chat app with your domain, click Share app with domain and follow the steps described in Share your app with all users in a domain.
To get started using your Chat app, you can instruct your users to follow the steps in Test your Chat app (above).
Share your Chat app using manual configuration
Share your Chat apps using manual configuration as described in the following sections:
- Share to individuals and groups in your domain using manual configuration
- Share to your entire domain using manual configuration
Share to individuals and groups in your domain
To share your Chat app for use by individuals and groups in your domain:
- In the Google Cloud Console, click the Configuration tab on the Chat API page.
- Under Visibility select Make this Chat app available to specific people and groups in your domain and add the email addresses for individual accounts.
For initial test purposes, you may just add your own account.
- Click Save.
- In the app editor, share the app with the same individuals or groups.
Share to your entire domain
To share your Chat app for use by your entire domain:
- Configure your OAuth Consent Screen, as described in Configure OAuth Consent Screen.
- Enable the Google Workspace Marketplace SDK:
- Open Google Cloud Console > API Library > Google Workspace Marketplace SDK.
- Click Enable.
- Configure the Google Workspace Marketplace SDK:
- Open Google Cloud Console > API & Services > Google Workspace Marketplace SDK > App Configuration.
- Follow the steps described in Enable and configure the Google Workspace Marketplace SDK.
Under App Visibility, make sure to select Private (Only available to users in your domain). This setting can't be changed after the project is saved.