# Cloning spaces or model to another space

**URL:** <https://forum.builder.io/t/cloning-spaces-or-model-to-another-space/1462>\
**Category:** Feature Requests\
**Tags:** feature\
**Created:** [December 13, 2021, 7:27pm UTC](https://forum.builder.io/t/cloning-spaces-or-model-to-another-space/1462 "2021-12-13T19:27:04Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![niftycode](https://avatars.discourse-cdn.com/v4/letter/n/c5a1d2/32.png) [@niftycode](https://forum.builder.io/u/niftycode)\
**Post date:** [December 13, 2021, 7:27pm UTC](https://forum.builder.io/t/cloning-spaces-or-model-to-another-space/1462/1 "2021-12-13T19:27:04Z")

</div>

Hi

Apologies if this has already been raised but a feature that would be very benfical to me would be the ability to clone a space or to clone a model from one space to another like you can do with content.

All my sites have the same foundation which I have to recreate everytime I have a new site to develop.

Cheers

Peter

---

<div class="post-metadata">

**Author:** ![TimG](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.builder.io/timg/32/714_2.png) [@TimG](https://forum.builder.io/u/TimG)\
**Post date:** [December 13, 2021, 8:50pm UTC](https://forum.builder.io/t/cloning-spaces-or-model-to-another-space/1462/2 "2021-12-13T20:50:49Z")

</div>

Hi @niftycode thanks for the feedback! There is a technical way to acheive this, by cloning down parts of your space using our CLI in the steps outlined here: [Using the CLI to import builder spaces to your filesystem](https://forum.builder.io/t/using-the-cli-to-import-builder-spaces-to-your-filesystem/609)

But as for an a user flow within our site we do not have anything at the moment. It is definitely a useful feature request though! I would recommend you add it to our [ideas.builder.io](http://ideas.builder.io) page…here we collect any feature requests and users are able to upvote as they like. It will also allow you to track the request once we implement it…check it out! [https://ideas.builder.io/](https://ideas.builder.io/)

---

<div class="post-metadata">

**Author:** ![niftycode](https://avatars.discourse-cdn.com/v4/letter/n/c5a1d2/32.png) [@niftycode](https://forum.builder.io/u/niftycode)\
**Post date:** [December 15, 2021, 9:43am UTC](https://forum.builder.io/t/cloning-spaces-or-model-to-another-space/1462/3 "2021-12-15T09:43:25Z")

</div>

Hi Tim

I have managed to clone down a space using the CLI as mentioned above, however the article does not mention how I get the models into a new space. Apologies if I have missed something.

Cheers

Peter

---

<div class="post-metadata">

**Author:** ![TimG](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.builder.io/timg/32/714_2.png) [@TimG](https://forum.builder.io/u/TimG)\
**Post date:** [December 17, 2021, 5:27pm UTC](https://forum.builder.io/t/cloning-spaces-or-model-to-another-space/1462/4 "2021-12-17T17:27:50Z")

</div>

@niftycode Sorry for delay I was waiting for a new update, which I can now share…We actually just released a new Admin API to beta that can be used to achieve just what you are looking for. You can see our basic documentation here:

> **[Builder Admin API - Builder.io](https://www.builder.io/c/docs/admin-graphql-api)**
>
> Build and optimize digital experiences for any tech stack, visually.

and here:

> **[builder/packages/admin-sdk at main · BuilderIO/builder](https://github.com/BuilderIO/builder/tree/main/packages/admin-sdk)**
>
> main/packages/admin-sdk

And play around with it here:  
[https://builder.io/api/v2/admin](https://builder.io/api/v2/admin)

This API uses GraphQL so play around with is in the playground to see if you are able to achieve what you are looking for! If you click the Docs tab on the right you can see the available mutations and queries:

 ![Screen Shot 2021-12-17 at 9.26.01 AM](https://us1.discourse-cdn.com/flex020/uploads/builder/original/1X/bb0fbc203b9e32493869697957918a9d08f51dd2.png)

---

<div class="post-metadata">

**Author:** ![jimjiminyjimjim](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.builder.io/jimjiminyjimjim/32/4384_2.png) [@jimjiminyjimjim](https://forum.builder.io/u/jimjiminyjimjim)\
**Post date:** [November 12, 2024, 3:12pm UTC](https://forum.builder.io/t/cloning-spaces-or-model-to-another-space/1462/5 "2024-11-12T15:12:01Z")

</div>

I can clone my spaces successfully using the cli but would like to use the admin api to achieve this.

I can successfully downloadClone - but whats the process for uploading that cloned information? Do I have to createSpace with the space info downloaded and then manually add each model with content?

---

<div class="post-metadata">

**Author:** ![manish-sharma](https://avatars.discourse-cdn.com/v4/letter/m/8797f3/32.png) [@manish-sharma](https://forum.builder.io/u/manish-sharma)\
**Post date:** [November 12, 2024, 5:10pm UTC](https://forum.builder.io/t/cloning-spaces-or-model-to-another-space/1462/6 "2024-11-12T17:10:02Z")

</div>

Hello @jimjiminyjimjim,

If you want to use the admin API, you can do so. However, you will need to copy each model from the source space and add it to the destination space.

> **[builder/packages/admin-sdk at main · BuilderIO/builder](https://github.com/BuilderIO/builder/tree/main/packages/admin-sdk)**
>
> Visual Development for React, Vue, Svelte, Qwik, and more - BuilderIO/builder
