Skip to main content
Use this page when you need the user’s space to exist before the first write.

Provision during sign-in

In the Web SDK, autoCreateSpace defaults to true. In the Node SDK, it defaults to false, so backends that own their own space should opt in explicitly.

Check the active space

After sign-in, spaceId gives you the current primary space URI. Use that value when you need to confirm which container the next tc.kv or node.kv call will target.

Additional owned spaces

TinyCloudNode can host additional owned spaces by name after sign-in:
Use this when a backend needs a separate owned space such as secrets and the node has not hosted it yet.

Next step

Verified against @tinycloud/web-sdk and @tinycloud/node-sdk 2.7.0-beta.2.