Weblutions Docs > FaxCAD > Installation & Setup > Step Three - Configuration

Step Three - Configuration

It's time to start configuring your site in the configuration file (config.json).

This section covers a variable documentation table on every single item inside the config file along with what it is and does as well as how to configure it.

Discord Login

Although the most common Discord offers a range of out of app features which echo into the Discord platform that other services don't provide.

First things first, create a Discord application through the Discord developer portal

Now on the OAuth2 page you will need to add the following as a redirect and replace the domain with yours. This is used in our login callback to actually log the user in.


Change example.com to represent your domain name.


Now, copy the Client ID and place it in the config file of FaxCad under the tokens section. Also copy the Client Secret from the Discord page into your FaxCad config.

Once you have configured FaxCad to have all of the required configuration options then you can proceed.

[R] symbols a required item.

Variable NameDescriptionTypeDefault Value
processPortThe port that the application runs onNumber3000
domainThe domain which the CAD will operate onString"http://localhost:3000"
ownerIdThe Discord ID of the site ownerString"DISCORD_ID_HERE"
discordBotTokenDiscord bot tokenString"DISCORD_BOT_TOKEN"
oAuth2ClientIdDiscord OAuth2 client IDString"DISCORD_CLIENT_ID"
oAuth2ClientTokenDiscord OAuth2 client secretString"DISCORD_CLIENT_SECRET"
faxesLicenseKeyThe license key to activate the softwareString"FAXES_LICENSE_KEY"
hostThe remote server to use. This should be an IP for a server or if it’s the machine then use localhostString"localhost"
usernameThe username used for the SQL login.String"root"
passwordThe password used for the SQL login.String"password"
databaseThe database name which contains the SQL tables.String"faxcad"

Review this page