(how-to-guides)= # How-to guides ```{toctree} :maxdepth: 2 Manage charms Write and structure charm code Write unit tests for a charm Write integration tests for a charm Log from your charm Run workloads with a machine charm Run workloads with a Kubernetes charm Manage storage Manage resources Manage actions Manage configuration Manage relations Manage leadership changes Manage libraries Manage interfaces Manage secrets Manage stored state Manage opened ports Manage the charm version Manage the workload version Manage metrics Trace the charm code Legacy how-to guides ```