First of all search for the desired Awesome icon here. In this example search for "stackexchange".
Click on the icon in the result list.
The HTML-code for the icon appears:
... class="fa fa-stack-exchange"....
Copy just the
stack-exchangepart without the
fa fa-. Concrete5 is taking care of it.
In your project, create the file
Add to this file the following code:
<?php return [ 'social' => [ 'additional_services' => [ [ 'stackexchange', // the handle 'StackExchange', // the title which will be shown in the dropdown 'stack-exchange', // the icon name copied before ] ], ], ];
If you have previously added manual configuration items to this file you will need to add this new section as an additional array item.
That's it. Upload the file, empty site cache and you'll have a new entry in the Social Link Service Dropdown. Note that the Awesome icon needs to exist.