# Assign Dashboard to Space

**URL:** <https://discuss.elastic.co/t/assign-dashboard-to-space/158283>\
**Category:** Kibana\
**Created:** [November 27, 2018, 7:23am UTC](https://discuss.elastic.co/t/assign-dashboard-to-space/158283 "2018-11-27T07:23:50Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![cawoodm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cawoodm/32/14083_2.png) [@cawoodm](https://discuss.elastic.co/u/cawoodm)\
**Post date:** [November 27, 2018, 7:23am UTC](https://discuss.elastic.co/t/assign-dashboard-to-space/158283/1 "2018-11-27T07:23:50Z")

</div>

ELK 6.5 Windows

How does one assign Dashboards to Spaces? If it's there it's well hidden...

Also, the experimentel [spaces API](https://www.elastic.co/guide/en/kibana/current/spaces-api-get.html) is returning only 404:

```
GET /api/spaces/space

```

```auto
{
  "error" : {
    "root_cause" : [
      {
        "type" : "index_not_found_exception",
        "reason" : "no such index",
        "resource.type" : "index_expression",
        "resource.id" : "api",
        "index_uuid" : "_na_",
        "index" : "api"
      }
    ],
    "type" : "index_not_found_exception",
    "reason" : "no such index",
    "resource.type" : "index_expression",
    "resource.id" : "api",
    "index_uuid" : "_na_",
    "index" : "api"
  },
  "status" : 404
}

```

---

<div class="post-metadata">

**Author:** ![cawoodm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cawoodm/32/14083_2.png) [@cawoodm](https://discuss.elastic.co/u/cawoodm)\
**Post date:** [November 27, 2018, 7:36am UTC](https://discuss.elastic.co/t/assign-dashboard-to-space/158283/2 "2018-11-27T07:36:54Z")

</div>

OK, I've found [this documentation](https://www.elastic.co/guide/en/kibana/current/spaces-moving-objects.html) which says:

1. Export saved objects from Space A
2. Switch to space B
3. Import saved objects (with overwrite)

You need to do this for all objects (e.g. saved searches and visualizations) and not just dashboards.

---

<div class="post-metadata">

**Author:** ![Brandon\_Kobel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/brandon_kobel/32/14829_2.png) [@Brandon\_Kobel](https://discuss.elastic.co/u/Brandon_Kobel)\
**Post date:** [November 28, 2018, 2:15pm UTC](https://discuss.elastic.co/t/assign-dashboard-to-space/158283/3 "2018-11-28T14:15:33Z")

</div>

Hey @cawoodm, the following blog post walks you through how to use the Dashboard Import/Export APIs to do this a little easier: [https://www.elastic.co/blog/how-to-migrate-to-kibana-spaces](https://www.elastic.co/blog/how-to-migrate-to-kibana-spaces)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [December 26, 2018, 2:15pm UTC](https://discuss.elastic.co/t/assign-dashboard-to-space/158283/4 "2018-12-26T14:15:34Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
