PORTAL

Agency Whitelabelling

3min
​in small phases, we're giving you more opportunities to get your brand noticed on our platform whitelabelling enables your agency to re brand the siteglide portal by replacing our logo with your own re branding the platform in this way means you are able to provide a more consistent, branded and streamlined service to your clients and maintain a single point of contact with them over time we will continue increasing coverage of the whitelabling capabilities to include things like domain name, among others admin logo to re brand your portal and admin, head over to the agency details page, upload your logo and enable "whitelabelling" login below is an endpoint and example snippets of code you can use to enable your clients to login to admin directly from your own agency website you'll need the code below as a minimum you can then add your own html/css/js designs and branding on top html and javascript 	email 	password 	 function s login(el){ 	event preventdefault(); 	let form = el closest('form'); 	let data = { 	 email form queryselector('\[name="email"]') value, 	 password form queryselector('\[name="password"]') value 	}; 	var xreq = new xmlhttprequest(); 	xreq open("post", "https //api siteglide co uk/api/public/general/sessions/login"); 	xreq setrequestheader("content type", "application/json"); 	xreq onreadystatechange = function(){ 	 if(xreq readystate === 4){ 	 let response = json parse(xreq response); 	 if(response error){ 	 alert(response error); 	 }else if(response session){ 	 window\ location href = 'https //admin siteglide com/#/public/login?s='+response session; 	 } 	 } 	} 	xreq send(json stringify(data)); }