This thesis describes how to build a solution for transmitting data from an Electroencephalography (EEG) device to a server in real-time while guiding the user through a number of predefined exercises. This solution will be used by Spinal Cord Injury (SCI) patients suffering from neuropathic pain, in order to understand if it is possible to predict such pain from EEG. The collected data will help clinicians analyze the brain activity data from patients who can submit the data from their home. To accomplish this development task, an application was built that connects to a portable EEG device, gather brain activity data from patients, guides patients through a set of imaginary tasks and sends the data to a server. This project made use of a Software Development Kit (SDK) for the Python programming language and a web sockets server written in JavaScript. The application was tested both in terms of usability and end-to-end latency, showing high usability and low latency. The proposed solution will support a clinical trial in Spain with 40 SCI patients.