Quick Start: Integrating Your Presale Widget

Start integrating your widget now with our developer documentation.

Getting your presale widget live on your website is easier than you might think. In this guide, we'll walk you through the entire integration process, from setup to deployment, so you can start accepting contributions in minutes.

Step 1: Create Your Presale Project

First, log into your Fundly dashboard and create a new presale project. You'll need to provide basic information about your token, including the token name, symbol, total supply, and presale parameters like price and minimum/maximum contribution amounts.

Once your project is created, Fundly will generate a unique widget code snippet that you'll embed on your website. This snippet is project-specific and includes all the configuration for your presale.

Step 2: Copy Your Widget Code

In your project dashboard, navigate to the "Widget" section and copy the provided code snippet. The snippet is a simple script tag that you'll add to your HTML, typically in the head section or just before the closing body tag.

<script src="https://widget.fundly.xyz/embed.js" data-project-id="YOUR_PROJECT_ID"></script>

Step 3: Embed on Your Website

Paste the widget code into your website's HTML where you want the presale widget to appear. The widget will automatically render and connect to your presale configuration. You can place it on a dedicated presale page, your homepage, or any other page where you want to accept contributions.

The widget is fully responsive and will adapt to your website's design. You can also customize the colors, fonts, and styling to match your brand using our customization tools in the dashboard.

Step 4: Configure Advanced Features

Once your widget is live, you can configure advanced features like KYC verification, whitelist access, affiliate programs, and more. These features can be enabled or disabled at any time through your dashboard, and changes will be reflected immediately in your widget.

For developers who want more control, Fundly also provides a comprehensive API that allows you to build custom integrations, manage contributions programmatically, and access real-time data about your presale.

Testing Your Integration

Before going live, make sure to test your widget thoroughly. Fundly provides a test mode that allows you to simulate contributions without using real funds. This is essential for verifying that everything works correctly before your actual presale launch.

Test the entire flow: wallet connection, contribution amounts, validation rules, and any custom features you've enabled. Make sure the widget displays correctly on different devices and browsers.

Going Live

Once you've tested everything and are satisfied with your setup, you can activate your presale from the dashboard. The widget will immediately start accepting real contributions, and you'll be able to monitor progress, manage contributors, and track all activity in real-time.

Remember to promote your presale through your marketing channels and provide clear instructions to your community on how to contribute. With Fundly's user-friendly widget, the contribution process is straightforward, but clear communication will help maximize participation.

Start integrating your widget now with our developer documentation.