# Management panel

The Management Panel or Admin Panel has the following purposes: creating & deleting sites and managing it's settings and managing users. There is a lot configuration possible and the admin panel makes this easier.

The admin is build in nodejs, and doesn't have it's own database, it connects to the API and the Auth server to manage it's configurations.

## Creating & importing sites

Creating sites consists of 3 mains steps: copying a mongodb database, creating a row in the sites table in the API with the correct config and creating clients in the Auth Api.

When importing external sites the admin panel als manages importing external images and certain REST objects.

## React-Admin

Next to the Management Panel there is a configuraion tool build on the react-admin framework. This tool is available in frontend sites (`/admin`) and can be used to set some site settings and to manage Ideas, Users, Votes, etc. This tool is also available in de Admin Panel as 'Beheer (beta)'.\
The repository can be found at <https://github.com/openstad/openstad-react-admin>


---

# 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://docs.openstad.org/openstad/technical/admin.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.
