---
title: "How-to-Guides"
description: "Practical step-by-step guides to help you achieve a specific goal. Most useful when you're trying to get something done."
url: https://developers.dhis2.org/docs/guides
source: https://github.com/dhis2/developer-portal/edit/main/docs/guides.md
---

# How-to-Guides

Practical step-by-step guides to help you achieve a specific goal. Most useful when you're trying to get something done.

### Local Development

-   [How to spin up a DHIS2 local instance](https://developers.dhis2.org/docs/guides/spin-up-local-instance)
-   [How to set up code style for DHIS2](https://developers.dhis2.org/docs/guides/code-style)
-   [How to debug common development errors](https://developers.dhis2.org/docs/guides/debug-instance)

### DHIS2 UI Components

-   How to use the DHIS2 UI library - [Watch this short video](https://youtu.be/Brvi4DsIRN8?list=PLo6Seh-066Rze0f3zo-mIRRueKdhw4Vnm&t=801) from the Developer Academy 2021
-   [How to add a Table component](https://developers.dhis2.org/docs/ui/recipes/ui-table)

### DHIS2 App Runtime

-   [How to use the Data Query Playground](https://developers.dhis2.org/docs/guides/query-playground)
-   How to fetch data from a DHIS2 instance - Watch this [short video](https://youtu.be/zw0UwsZ2Pww?list=PLo6Seh-066RynhjhnJNUITOZykA7397We&t=349) using the Query Playground of the [DHIS2 Application Runtime](https://developers.dhis2.org/docs/app-runtime/getting-started)
-   How to mutate data - Watch this [short video](https://youtu.be/dLoOWGJU0Cg) to learn more about mutation types and how to perform simple mutations

### App Hub

-   [How to submit an application to the DHIS2 App Hub](https://developers.dhis2.org/docs/guides/submit-apphub)
-   [App Hub Submission Guidelines](https://developers.dhis2.org/docs/guides/apphub-guidelines)

### Translation

-   [How to add translation support to an application](https://developers.dhis2.org/docs/guides/translation-support)

> _COMING SOON!_ 👇

### Adding Common Features

-   How to add a Form
-   How to add a DHIS2 Org Unit Tree selector to my application

### Plugins

-   How to embed a plugin in my application
-   How to build a dashboard plugin

### Security

-   How to ensure security and privacy in DHIS2 apps

### Testing

-   How to test my application for a specific DHIS2 version (with `d2 cluster`)
-   How to write automated tests for my application
