# Angular

<figure><img src="https://564713456-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKNcXDcNRYHUBsVw12Dii%2Fuploads%2FfjwNTqquUXkq0nQ4T1vE%2FAngular.PNG?alt=media&#x26;token=01d2897f-277d-40cb-bb15-1643b29ccb35" alt=""><figcaption></figcaption></figure>

### Introduction <a href="#introduction" id="introduction"></a>

SwiftXR is a powerful platform for creating and sharing interactive 3D, augmented reality (AR), and virtual reality (VR) experiences on the web. With the SwiftXR (3D/AR/VR) Integration for Angular, you can easily integrate SwiftXR Projects into your Angular websites/webapps, enabling you to create immersive and interactive web experiences.

### Creating a Project in SwiftXR <a href="#creating-a-project-in-swiftxr" id="creating-a-project-in-swiftxr"></a>

* Navigate to the SwiftXR Hub: Begin by visiting the [SwiftXR Hub](https://swiftxr.io/hub).
* Initiate Project Creation: Once on Hub, click the "Create Project" button and enter your desired project name.
* Design and Develop: Utilize the intuitive editor to effortlessly add and customize SwiftXR components, bringing your 3D vision to life.

<figure><img src="https://564713456-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKNcXDcNRYHUBsVw12Dii%2Fuploads%2FzEKCqA7PC1oWQ4tsjlOo%2FGuide%20Screenshots%20(16).png?alt=media&#x26;token=4e4bab86-2104-467a-ab71-085cc687fd08" alt=""><figcaption></figcaption></figure>

### Add a Component/Upload a 3D Model to the Canvas <a href="#add-a-componentupload-a-3d-model-to-the-canvas" id="add-a-componentupload-a-3d-model-to-the-canvas"></a>

* From the component tab, click or drag and drop a 3D viewer component to add it to the white canvas.
* Select the "Properties" tab to upload a 3D model, import from a 3D store or Request a 3D model from <support@swiftxr.io>.

<figure><img src="https://564713456-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKNcXDcNRYHUBsVw12Dii%2Fuploads%2FPWUoGI90r2LLksxNESjC%2FGuide%20Screenshots%20(17).png?alt=media&#x26;token=40a1839d-8ec5-4521-b4f3-e221f0e29f0d" alt=""><figcaption></figcaption></figure>

### Publishing Your SwiftXR Project <a href="#publishing-your-swiftxr-project" id="publishing-your-swiftxr-project"></a>

Utilize the editor to create your 3D vision using the SwiftXR components. Once satisfied with your creation, press the "Publish" or "Update" button to make your project live.

<figure><img src="https://564713456-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKNcXDcNRYHUBsVw12Dii%2Fuploads%2FOCYO8LTwZnYjo3Rs2rZX%2FGuide%20Screenshots%20(18).png?alt=media&#x26;token=4743f25f-77a9-4d4c-a63b-09603f84f660" alt=""><figcaption></figcaption></figure>

### Copy Embed Code <a href="#copy-embed-code" id="copy-embed-code"></a>

After publishing, click the dropdown button beside the "Update" button and select "Share." Within the Share modal, click the "Copy Embed" button to copy the embed code for your project.

<figure><img src="https://564713456-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKNcXDcNRYHUBsVw12Dii%2Fuploads%2FuEj7eWx0ZC3YOfjd4Xgv%2FGuide%20Screenshots%20(20).png?alt=media&#x26;token=a0c82ff7-3794-463d-bc61-4f2dd1267214" alt=""><figcaption></figcaption></figure>

<figure><img src="https://564713456-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKNcXDcNRYHUBsVw12Dii%2Fuploads%2FUJXXlZNuvciys7ecZpYR%2FGuide%20Screenshots%20(26).png?alt=media&#x26;token=8d3c8cdb-be7c-4241-885e-e0a2351c2686" alt=""><figcaption></figcaption></figure>

### Integrating SwiftXR into Angular Websites <a href="#integrating-swiftxr-into-angular-websites" id="integrating-swiftxr-into-angular-websites"></a>

* Simply paste the copied Angular embed code into the desired section of your website's Angular source code to seamlessly integrate and showcase the 3D/AR/VR view on your site.

<figure><img src="https://564713456-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKNcXDcNRYHUBsVw12Dii%2Fuploads%2FmH7ST9Y3Enwje2iKYI9W%2FAngular.PNG?alt=media&#x26;token=99b21528-083b-4f5e-b305-6cade1379661" alt=""><figcaption></figcaption></figure>

### Viewing your Scene in the Web, AR or VR <a href="#viewing-your-scene-in-the-web-ar-or-vr" id="viewing-your-scene-in-the-web-ar-or-vr"></a>

Save and deploy the Angular website and view the link on any device to explore it immersively.

### Conclusion <a href="#conclusion" id="conclusion"></a>

By integrating SwiftXR with Angular, you can seamlessly blend 3D elements into your web prototypes, creating more engaging and interactive experiences for your users. Explore the possibilities of using SwiftXR to enhance your Angular prototypes and bring your ideas to life in an immersive and interactive way.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://guide.swiftxr.io/integrations/angular.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
