Set the config variables in init.py
Example:
https://github.com/spesmilo/electrum/blob/master/electrum/plugins/swapserver/__init__.py