# Embed 3D Scene

To enable the amazing feature of 3D scene embedding, please ensure you complete the following prerequisites:

1. **Subscribe to a Paid Plan:** Sign up for a paid plan and purchase the '**3D Scene Embedding**' add-on separately, as shown below.

<figure><img src="https://106539370-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MkDTo38rJXwffr39eDH%2Fuploads%2FBZ5sKs0qc6WktWRsRgef%2Fimage.png?alt=media&#x26;token=21e9112b-9f03-4199-a6f5-47bfc58b5c62" alt=""><figcaption></figcaption></figure>

1. **Publish a Space:** Create and publish at least one space. Refer to the instructions [here](https://docs.starrynift.art/3d-aigc-personal-space/publish-space) for creating and publishing your custom space.
2. **Enable the 'Voice' Function:** Go to the "**Basic Info**" tab and enable the 'Voice' function.

<figure><img src="https://106539370-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MkDTo38rJXwffr39eDH%2Fuploads%2FyHwSxiT2eUYTMuqMi912%2Fimage.png?alt=media&#x26;token=55c86dd5-ce45-4646-98f2-f32503aeab34" alt=""><figcaption></figcaption></figure>

After completing the above steps, navigate to the '**Embed 3D Scene**' tab and follow the steps below to test chatting with your chatbot in one of your published spaces to ensure everything is working correctly.

<figure><img src="https://106539370-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MkDTo38rJXwffr39eDH%2Fuploads%2FVInghVtNi401p9BFp8a2%2Fimage.png?alt=media&#x26;token=90bedd62-d2a8-425e-b21d-bedda9939a29" alt=""><figcaption></figcaption></figure>

You can also refer to the detailed tutorial by clicking the link on the page or enable/disable voice chat as shown below.

<figure><img src="https://106539370-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MkDTo38rJXwffr39eDH%2Fuploads%2FnzcET3XBMbheFmIcvU6A%2Fimage.png?alt=media&#x26;token=d6090426-b570-4ea0-99f8-c3468e09f010" alt=""><figcaption></figcaption></figure>

Remember to click the '**Save**' button to save all your changes before proceeding with further operations.

<figure><img src="https://106539370-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MkDTo38rJXwffr39eDH%2Fuploads%2FsbD7HgpI8KMgYDBSpdYx%2Fimage.png?alt=media&#x26;token=f75fd33f-1d68-4995-8e38-78d33c7a4026" alt=""><figcaption></figcaption></figure>

Click the '**Continue**' button to proceed to the next page.

<figure><img src="https://106539370-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MkDTo38rJXwffr39eDH%2Fuploads%2FlqjmKtqbhsqQisvjlm4C%2Fimage.png?alt=media&#x26;token=a8db2391-f2a1-44ca-870b-a293ecc589ff" alt=""><figcaption></figcaption></figure>

Switch on the toggle switch to generate script snippet.

<figure><img src="https://106539370-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MkDTo38rJXwffr39eDH%2Fuploads%2FLmCP3cn2NmyD8qtwEJ57%2Fimage.png?alt=media&#x26;token=7edb281c-6f08-469a-a29c-cfa7dc6ed068" alt=""><figcaption></figcaption></figure>

If you receive the error below, it means you've used up your '**3D scene embedding**' quota. You can either purchase more quota on the '**Pricing**' page or deactivate the '**3D scene embedding**' feature for other chatbots to free up quota for your current chatbot.

<figure><img src="https://106539370-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MkDTo38rJXwffr39eDH%2Fuploads%2FJk6Zho84R2xj2bbqrAVQ%2Fimage.png?alt=media&#x26;token=131535d3-ab26-46d1-bcd2-f90dae01eae7" alt=""><figcaption></figcaption></figure>

<figure><img src="https://106539370-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MkDTo38rJXwffr39eDH%2Fuploads%2FZ6TkxeF5zPr5glVNpZiI%2Fimage.png?alt=media&#x26;token=5c1ac299-e838-40ad-89a0-be54c849982b" alt=""><figcaption></figcaption></figure>

Copy the generated script and add it to your website's HTML code.

<figure><img src="https://106539370-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MkDTo38rJXwffr39eDH%2Fuploads%2FfBW7KsiKJjL002STON0k%2Fimage.png?alt=media&#x26;token=9bd5893b-1d98-4aa2-a6a0-12a5ae83a8a1" alt=""><figcaption></figcaption></figure>

Well done! Now start chatting or invite others to chat with your smart AI chatbot in your customised 3D space.

<figure><img src="https://106539370-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MkDTo38rJXwffr39eDH%2Fuploads%2FmUJKBo5Qg9Y0Px6rdoZ0%2Fimage.png?alt=media&#x26;token=7c6d57c8-ad10-467c-ae9b-b70234c90e36" alt=""><figcaption></figcaption></figure>
