---
title: Maloja
toc_min_heading_level: 2
toc_max_heading_level: 5
---

import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
import CodeBlock from '@theme/CodeBlock';
import MalojaConfig from '!!raw-loader!@site/../config/maloja.json.example';

:::tip[Other Uses]

To  _scrobble to_ a Maloja server, create a [Maloja (Client)](/configuration/clients/maloja)

:::

See the [Maloja (Client)](/configuration/clients/maloja) configuration for general setup. The only difference for **Source** configuration:

* [File/AIO config](/configuration?configType=file#configuration-types)  must include `"configureAs": "source"`

## Configuration

<Config config="MalojaSourceConfig" fileContent={MalojaConfig} name="maloja">
        | Environmental Variable  | Required? | Default | Description                     |
        | ----------------------- | --------- | ------- | ------------------------------- |
        | `SOURCE_MALOJA_ID`      | Yes       |         | A unique ID                     |
        | `SOURCE_MALOJA_URL`     | Yes       |         | Base URL of your installation   |
        | `SOURCE_MALOJA_API_KEY` | Yes       |         | Api Key                         |
        | `SOURCE_MALOJA_NAME`    | Yes       |         | A vanity name different than ID |
</Config>