How-To:
Enabling the widget of your discord server:
The widget can be enabled by Discord server administrators by going through the settings screen of their Discord server and going to the "Widget" settings section. To enable embedding a widget to your server, tick the "Enable Widget" box.
Integratring the widget to the application:
Just copy and pass the "Server ID" to the input parameter "ServerId" of the application widget. Also, you can customize the widget by passing the theme (dark or light), and the width and height (in pixels).