# SparkView integration quick start # 1. – Connect to a RDP server using URL parameters Save a JavaScript file as index.page.js with the following content on your web server: ``` window.onload = function() { var gateway = '192.168.12.111', //change this to your Spark gateway address server = '192.168.12.117', //change this to your RDP server address url = 'ws://' + gateway + '/RDP?server=' + server + '&user=userName&pwd=password'; var r = new svGlobal.Rdp(url); r.addSurface(new svGlobal.LocalInterface()); r.run(); }; ``` You can use JSP, ASP.net, PHP or other server side programming to get the server, credentials from your database. Save a web page as index.html with the following content on your web server: ```