Customizing Connect Webviews
You can customize the look and feel, brand list, and behavior of your Connect Webviews.
Last updated
You can customize the look and feel, brand list, and behavior of your Connect Webviews.
Last updated
© Seam Labs, Inc. All rights reserved.
You can use the Seam Console to customize the Connect Webviews that you present to your users through your app.
You can customize the following characteristics of your Connect Webviews:
Behavior settings, including automatically_manage_new_devices
and wait_for_device_creation
You can customize the look and feel of your Connect Webviews in the following ways:
Inviter Name: Define the name to display in your Connect Webviews as the entity requesting user authorization for Seam to access their device or access control system account.
Logo: Choose a logo for your Connect Webviews. Ensure that the image file size does not exceed 1 MB.
Logo Shape: Select the shape of your logo displayed in Connect Webviews. Choices are Circle (default) or Square.
Primary Button Color: Customize the color of the Action Button in your Connect Webview flow using a hex color code. The default color is #232426, which is almost black, and the default text color on the button is white.
It is important to note that any changes you make to the customization features will apply to all of your new Connect Webviews.
In the left navigation pane of the Seam Console, click Webviews.
In the Customize your Webview pane on the Webviews page, configure any of the following features:\
When you create a Connect Webview, you can customize the providers—that is, the brands—that it displays. In the Create Connect Webview request, include the desired set of device provider keys in the accepted_providers
parameter.
To help you decide which providers to include in a Connect Webview, you can use the List Device Providers method to learn about each provider. The information that this method returns for each provider includes a set of capability flags, such as device_provider.can_remotely_unlock
. If at least one supported device from a provider has a specific capability, the corresponding capability flag is true
. For more information, see Device Providers.
If you omit the accepted_providers
parameter, the Connect Webview displays all of the stable providers that Seam supports, by default. For more information about provider categories, see Provider Category Keys.
For example, the following Connect Webview creation request specifies that the Connect Webview should only display August and Schlage:
Request:
Response:
You can use the following two properties to customize the behavior of your Connect Webviews:
You configure these properties when you are creating the Connect Webview. Consequently, you can customize these two characteristics for each of your Connect Webviews.
automatically_manage_new_devices
Seam charges fees for different parts of the API, like connecting a device, creating an access code or thermostat schedule, and creating an access control system user. To learn more, contact our team. You can exclude specific devices from your bill by marking them as "unmanaged."
The default value for automatically_manage_new_devices
is true
. Consequently, by default, Seam imports all devices and makes them available for use. However, if you set this property to false
, Seam sets the is_managed
property for all new devices to false
(that is, unmanaged) when a user first connects their account to Seam.
wait_for_device_creation
This property enables you to specify whether Seam should finish syncing all devices in a newly-connected account before completing the associated Connect Webview.
The default value for wait_for_device_creation
is false
. If wait_for_device_creation
is false
, you should wait for connected_account.completed_first_sync
before retrieving your devices. This event indicates that Seam has finished the first sync of the connected account, and the connected devices are available.
Alternately, if you set wait_for_device_creation
to true
, Seam finishes syncing all devices in the newly-connected account before proceeding to the final page of the Connect Webview. In this case, you can fetch your devices immediately upon the completion of the Connect Webview.
Customization Features | Instructions |
---|---|
Inviter name
In the Inviter Name area, click Edit.
Type the desired inviter name and then click Save.
Logo
In the Logo area, click Upload new logo.
Navigate to and select the image file that contains the desired logo. The image file size cannot exceed 1 MB.
Click Open.
Logo shape
In the Logo Shape area, click Edit.
Select Circle or Square and then click Save.
Primary button color
In the Primary Button Color area, click Edit.
Type the desired hex color code and then click Save.
Note that the default primary button color is #232426
(almost black).