# How to edit the Jason.config file on cloud deployment?

**URL:** <https://forum.mattermost.com/t/how-to-edit-the-jason-config-file-on-cloud-deployment/14574>\
**Category:** Troubleshooting\
**Created:** [December 4, 2022, 4:09am UTC](https://forum.mattermost.com/t/how-to-edit-the-jason-config-file-on-cloud-deployment/14574 "2022-12-04T04:09:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ThoryCobra15](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/thorycobra15/32/6157_2.png) [@ThoryCobra15](https://forum.mattermost.com/u/ThoryCobra15)\
**Post date:** [December 4, 2022, 4:09am UTC](https://forum.mattermost.com/t/how-to-edit-the-jason-config-file-on-cloud-deployment/14574/1 "2022-12-04T04:09:39Z")

</div>

I have read the docs but never saw where it specified how to edit the config file on cloud deployment. The reason I need to do this is to install custom bots, to fix this issue here: [[SOLVED] Users automatically joining multiple public channels - #3 by lenusch](https://forum.mattermost.com/t/solved-users-automatically-joining-multiple-public-channels/3913/3)

[https://docs.mattermost.com/configure/configuration-settings.html#default-channels-experimental](https://docs.mattermost.com/configure/configuration-settings.html#default-channels-experimental)

---

<div class="post-metadata">

**Author:** ![agriesser](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/agriesser/32/5644_2.png) [@agriesser](https://forum.mattermost.com/u/agriesser)\
**Post date:** [January 23, 2023, 6:46am UTC](https://forum.mattermost.com/t/how-to-edit-the-jason-config-file-on-cloud-deployment/14574/2 "2023-01-23T06:46:30Z")

</div>

Hi @ThoryCobra15, welcome to the Mattermost forums and sorry for the late reply!

You can edit the cloud configuration with `mmctl`. To do so, download the binary onto your local computer, there are releases for several architectures available, pick the one that suits best for you:

> **[Releases · mattermost/mmctl](https://github.com/mattermost/mmctl/releases)**
>
> A remote CLI tool for Mattermost. Contribute to mattermost/mmctl development by creating an account on GitHub.

Then use the `mmctl auth login` command to login to your cloud instance:

```auto
$ mmctl auth login --help
Login into an instance and store credentials

Usage:
  mmctl auth login [instance url] --name [server name] --username [username] --password-file [password-file] [flags]

Examples:
  auth login https://mattermost.example.com
  auth login https://mattermost.example.com --name local-server --username sysadmin --password-file mysupersecret.txt
  auth login https://mattermost.example.com --name local-server --username sysadmin --password-file mysupersecret.txt --mfa-token 123456
  auth login https://mattermost.example.com --name local-server --access-token myaccesstoken

Flags:
  -t, --access-token-file string Access token file to be read to use instead of username/password
  -h, --help help for login
  -m, --mfa-token string MFA token for the credentials
  -n, --name string Name for the credentials
      --no-activate If present, it won't activate the credentials after login
  -f, --password-file string Password file to be read for the credentials
  -u, --username string Username for the credentials

```

Once you’re logged in, you can then use the command `mmctl config edit` to edit your configuration.
