# Configuring SASL You can either configure SASL through `!serverset sasl` from an registered and identified admin account or directly through sqlite. ## !serverset sasl These commands are to be executed from a registered admin account #### PLAIN > !serverset sasl plain : #### SCRAM-SHA-1 > !serverset sasl scram-sha-1 : #### SCRAM-SHA-256 > !serverset sasl scram-sha-256 : #### EXTERNAL > !serverset sasl external ## sqlite Execute these against the current bot database file (e.g. `$ sqlite3 databases/bot.db`) #### PLAIN > INSERT INTO server_settings (, 'sasl', '{"mechanism": "plain", "args": ":"}'); #### SCRAM-SHA-1 > INSERT INTO server_settings (, 'sasl', '{"mechanism": "scram-sha-1", "args": ":"}'); #### SCRAM-SHA-256 > INSERT INTO server_settings (, 'sasl', '{"mechanism": "scram-sha-256", "args": ":"}'); #### external > INSERT INTO server_settings (, 'sasl', '{"mechanism": "external"}');