Skip to main content
This guide walks through integrating Jupiter Plugin into a plain HTML application from scratch. You will add the plugin script tag, initialize with window.Jupiter.init(), and serve the page with http-server.

Prerequisites

Before you begin, make sure you have the following installed on your system. Node.js and npm: Download and install from nodejs.org http-server: Download and install http-server from npm

Step 1: Create a New HTML Project

Head to your preferred directory and create a new folder for your project:

Step 2: Add the Plugin Script

Add the Plugin script to your project:

Step 3: Run the Project

Run the project using http-server:
There you have it! You’ve successfully integrated Jupiter Plugin into your HTML application.
  • Please test the swap functionality and check the transaction.
  • If you require more customizations, check out the Plugin Playground or the Customization documentation.
  • If you have any questions or issues, please refer to the FAQ or contact us on Discord.