1 Title: Configuring SASL for WeeChat
4 Here's a simple guide for password-based authentication, based on the
[WeeChat quick-start guide <i class="fa fa-external-link" aria-hidden="true"></i>](https://weechat.org/files/doc/stable/weechat_quickstart.en.html).
6 If you haven't already set up your connection to freenode, use this command:
8 /server add freenode chat.freenode.net/
6697 -ssl
10 If you have already set up a connection to freenode, or if that command fails with a message like
`irc: server "freenode" already exists, can't add it!`, then use these commands to ensure that SSL/TLS is enabled for your connection:
12 /set irc.server.freenode.addresses "chat.freenode.net/
6697"
13 /set irc.server.freenode.ssl on
17 /set irc.server.freenode.sasl_mechanism PLAIN
18 /set irc.server.freenode.sasl_username <nickname>
19 /set irc.server.freenode.sasl_password <password>
22 For more complete instructions, including non-password-based mechanisms, see the
[official Weechat documentation <i class="fa fa-external-link" aria-hidden="true"></i>](https://www.weechat.org/files/doc/stable/weechat_user.en.html#irc_sasl_authentication).