# Web Component Versioning – Overview & Guide

#### 1. Current Setup (Legacy URL)

You are currently using the following build URL:

🔗 <https://assets.theblockbrain.ai/scripts/blocky-chat/blocky-chat.bundle.js>

This is the legacy URL and will always serve the latest version automatically. No action is needed if you want to stay on the most recent version using this URL.

***

#### 2. New Versioning URLs

With the new versioning feature, you now have two options to control which version of the web component you use:

| Option         | URL                                                                                    | Description                                                                                                                 |
| -------------- | -------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- |
| Always Latest  | <https://assets.theblockbrain.io/scripts/blocky-chat/latest/blocky-chat.bundle.js>     | Automatically points to the newest version at all times.                                                                    |
| Pinned Version | <https://assets.theblockbrain.io/scripts/blocky-chat/v1.0.1-rc5/blocky-chat.bundle.js> | Points to a specific version (e.g., `v1.0.1-rc5`). Replace the version segment in the URL to switch to a different version. |

All available versions and release tags are managed and published here:\
🔗 <https://github.com/theblockbrain/b2b-webcomponents/releases>

***

#### 3. How to Switch Versions

Switching to a different version is straightforward:

1. Choose the [desired version](https://github.com/theblockbrain/b2b-webcomponents/releases)
2. Replace the version segment in the URL (e.g., change `v1.0.1-rc5` to the new version tag).
3. Update the script reference in your integration to use the new URL.

That's it — no further configuration is required.

***

#### 4. How Will You Know About New Versions?

* If you use the `/latest/` URL, you will always receive the newest version automatically.
* If you use a pinned version URL, we will notify you whenever a new version is released (including new features and release tags).

***

#### 5. Web Component Configuration

You can manage your web component settings directly in your admin tab. Each tenant has a dedicated Web Components tab for managing their specific configuration:

🔗 <https://into.theblockbrain.ai/manage?tab=webcomponents>
