> For the complete documentation index, see [llms.txt](https://docs.mapeo.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.mapeo.app/complete-reference-guide/customization-options/custom-configurations/creating-custom-configurations/coding-configuration.md).

# Coding configuration

Mapeo configuration files (`.mapeosettings`) are compiled from a set of files and folders that contain all the information Mapeo needs to display the categories, icons and details fields you want users to see when collecting and viewing data. This section will walk you through translating all of the information you've defined in [Planning configuration & data structure](/complete-reference-guide/customization-options/custom-configurations/creating-custom-configurations/planning-configuration-and-data-structure.md) into a Mapeo configuration file.

### Configuration folder structure

To begin preparing your files, you can download or clone our [**default configuration repository**](https://github.com/digidem/mapeo-default-config) or this [**empty configuration repository**](https://github.com/digidem/empty-mapeo-config) from GitHub. These repositories contain the core files and folders you will need for editing.

When authoring custom configurations, you will edit files within the following configuration **folders**:

* **`icons`**
* **`fields`**
* **`presets`** (categories)

And the following configuration **files**:

* `metadata.json`
* `defaults.json`
* `package.json`

## Prepare folder structure

### Using the file explorer

1. Download the [default configuration repository](https://github.com/digidem/mapeo-default-config) or [empty configuration repository](https://github.com/digidem/empty-mapeo-config).
2. Unzip the contents to a new folder using a program like [7zip](https://www.7-zip.org).
3. Rename the folder from "mapeo-default-settings" to use your own project name, "mapeo-config-projectname".

### Using the terminal (linux and mac)

```
wget https://github.com/digidem/mapeo-default-settings/archive/v2.1.0.zip 
unzip v2.1.0.zip 
mv mapeo-default-settings-v2.1.0 mapeo-settings-myprojectname
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.mapeo.app/complete-reference-guide/customization-options/custom-configurations/creating-custom-configurations/coding-configuration.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
