1. Knowledgebase - Prerender
  2. Integrations
  3. Prerender.io officially maintained integration

Node(Express.js)

To improve your Node (Express.js) front-end's SEO performance, consider integrating Prerender. It renders your pages on our end for faster loading and better optimization. This guide explains how to integrate Prerender into your front end.

Disclaimer

This integration can not be installed directly into a React,Angular or Vue project.
Only use this integration if Express is handling every incoming connection and not just API calls.

Video guide:

 


 

Prerender token 
The location of the Prerender token has changed. You can find it under the Security and Access menu under Prerender Token.

Text guide:
View source on GitHub

1. Navigate to your Express.js directory, then install the prerender-node module with the code below. 

npm install prerender-node --save

2. Then paste the code below into your application's .js file and replace the placeholder with your Prerender.io Token from the Security and Access menu.

app.use(require('prerender-node').set('prerenderToken', 'YOUR\_TOKEN'));

3. Then restart your Express.js application if necessary.

4. Check if your integration is working properly.
You can check your Prerender integration based on this guide