Enable whiteboard
Updated
Enable and configure Interactive Whiteboard and its server-side features in Agora Console.
To use Interactive Whiteboard, enable and configure it for your project in Agora Console.
Prerequisites
Before you enable Interactive Whiteboard, ensure that you have:
- A valid Agora account. If you have a Netless account, you must complete the account migration first. See Migrate from Netless to Agora.
- An active Agora project. If you have not created a project, see Agora account management.
Enable Interactive Whiteboard
To enable Interactive Whiteboard:
- Log in to Agora Console.
- Select RTC Services from the sidebar.
- Locate the Whiteboard card and turn on its toggle.
- Select the settings icon to open the configuration panel. The Interactive Whiteboard panel provides security credentials and services configuration.
Get security credentials for your whiteboard project
Under Basic Information, the panel provides the following credentials:
- App Identifier: The unique App Identifier required for initializing the Whiteboard SDK.
- Access Key and Secret Key: A pair of keys you use to generate whiteboard tokens. See Generate token using an app server.
- SDK Token: An SDK token is a dynamic key. You can generate an SDK Token here for development and testing purposes. In a production environment, you generate an SDK Token at your app server either by using the code samples or calling the RESTful API.
To get the security credentials:
-
Copy ⧉ the App Identifier, Access Key, and Secret Key, and save them to a secure location.
-
To generate an SDK token, click Generate Token, then copy the token immediately and save it to a secure location. You cannot view the token again after you leave the page.
Exposing security credentials can lead to serious risks. To improve security, Agora recommends the following best practices:
-
Avoid sending the Access Key and Secret Key to app clients or hard-coding them in the application. Ensure only the app server can read the keys from a secure configuration file.
-
Since SDK tokens generated through the Agora Console have high level permissions, do not send these tokens to app clients to prevent potential security risks.
-
Enable whiteboard server-side features
Interactive Whiteboard sets up five data centers. Each data center provides the following server-side features:
-
File conversion features:
- Docs to Picture
- Docs to Web
After enabling the file conversion features, you can call the RESTful APIs to launch a file conversion task or query the conversion progress.
Agora charges for the file-conversion feature. See Pricing.
-
Screenshot. After enabling, you can call the RESTful APIs to take screenshots.
To enable one or more features and configure the storage settings:
-
Under Services Configuration, select a data center and click Configure. The data center must be the same as the one you fill in the
regionfield when calling the Create a room API; otherwise, the service configuration does not take effect. -
Enable one or more of Docs to Picture, Docs to Web, or Screenshot.
-
Set up the storage space:
- Click the Storage dropdown and select a previously configured storage space, or click Create to add a new storage space.
To add a new storage space, fill in the following information:
-
Name: (Required) The name of your storage space.
-
Vendor: (Required) The third-party cloud storage vendor. Choose from the following options:
AWSAlibaba CloudGoogle Cloud PlatformHuawei Cloud
-
Region: (Required) The location of the data center you specified when creating a bucket.
-
Access Key: (Required) The access key provided by the third-party cloud storage vendor, which is used by the vendor to identify visitors.
-
Secret Key: (Required) The secret key provided by the third-party cloud storage vendor, which is used to authenticate signatures.
-
Bucket: (Required) The name of the bucket.
-
Storage Path: The path used to save the resources in the storage space. The default is the root directory.
-
Domain: The domain name used to access the third-party cloud storage service.
To get the above information for a third-party storage service, see the documentation provided by the vendor.
You should enable public access or higher permission for third-party storage spaces so that your app clients can access files saved in the space.
Click Create to save the storage space parameters.
-
Click Save to save the service configuration. Read the prompt carefully, and click Confirm.
Reference
After enabling the Interactive Whiteboard, you can refer to the following documents to use its functions:
