Changing settings and customizing the board

Draw.Chat lets you customize the appearance and functionality of the board and then embed it on any website or in an external application.

You can load a previously saved board, modify its pages and settings, and then share it with selected users.

You can embed a Draw.Chat board on an e-learning platform, in an LMS system, or in another application using the API.

Embedding the board on a page (iframe)

To place the board on a blog, website, or in an application, follow these steps:

  • Go to the Configurator page.
  • Configure the board by selecting the options you’re interested in.
  • Click the Save configuration button.
  • Go to the Share board with section.
  • Specify whether users can draw and use chat.
  • If you don’t allow collaborative editing of the board, you can enable local drawing so that each user works on their own copy.
  • Copy the generated iframe code and paste it into the page.

Creating a new board with a random address and password

You can create a new board with a random address and administrator password by redirecting the user to:

https://api.draw.chat/v1/open

Each call to this address creates a new, independent board.

Creating a shared board with a deterministic address

If you want users to always land on the same board, you can use a deterministic address based on the seed parameter:

https://api.draw.chat/v1/open?seed=[ciąg_znaków]

Based on the seed value, the board address and a shared administrator password are generated. All users opening the link with the same seed will get full editing permissions.

On your server side, you can generate seed deterministically, for example:

seed = sha256('sekret_szkoły' + 'nr_sali' + 'czas_rozpoczęcia')

Links generated with the same seed will always lead to the same board.

Integration via API

The Draw.Chat API allows you to create boards and manage users and their permissions exclusively using properly prepared links.

For your project, generate a key pair .private.key and public.key (ECDSA / P-256), and then use the private key to sign links.

Links with a valid signature open in the context of their corresponding public key. Each public key can represent a separate project or integration.

Based on a single key pair, you can generate many links to different boards and users, taking into account individual permissions and board settings.

Example scenario

For a defined list of participants, generate:

  • one link to a shared board,
  • separate links to individual boards for each participant,
  • a link for the instructor or examiner with administrator permissions.

https://github.com/cojapacze/drawchat