> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sketricgen.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Affiliate Referrals, Better Embeds, and Smoother UI (Nov 7, 2025)

> SketricGen mini release: expanded affiliate/referral codes, improved widget embeds (fullscreen + iframe), drag-and-drop file import, cleaner chat UI, faster performance, and reliability upgrades.

This mini release focuses on practical upgrades you'll notice immediately: a more complete **affiliate/referral system**, a smoother **embed + widget experience**, and UI/performance improvements across the app.

## TL;DR

* Expanded **affiliate + referral codes** across login, signup, and profiles
* Improved affiliate visibility: clearer balances, codes, and eligibility/terms
* Added **drag-and-drop file upload** in Import Config
* Improved **fullscreen widget layout**, suggested prompts, and iframe behavior
* Cleaner chat styling + better loading states across key pages
* Reliability/performance improvements across components and backend lookups

***

## What’s new

### 1) Expanded affiliate & referral system (codes that actually work everywhere)

We expanded referral + promo code support so it’s now available across:

* Login
* Signup
* User profiles

Affiliate users also get improved visibility into:

* Balances
* Codes
* Terms/eligibility messaging (refined on the Affiliate page)

**Why it matters:** easier attribution, fewer “did my code apply?” moments, and a cleaner experience for partners sharing SketricGen.

<img src="https://mintcdn.com/sketricgen/GDdY2xmoXVSqYzGk/images/changelog/affiliate_referral_code.png?fit=max&auto=format&n=GDdY2xmoXVSqYzGk&q=85&s=5dad10b1c5e2ffc7dcbbfe144cd8c582" alt="Screenshot showing the Affiliate Dashboard with referral code, available balance, and lifetime earnings" width="2994" height="1428" data-path="images/changelog/affiliate_referral_code.png" />

***

### 2) Better file import & widget experience (less friction, faster testing)

**Import Config**

* Added **drag-and-drop** file upload for faster setup

**Chat Widget / Embeds**

* Multiple improvements to **fullscreen widget layout**
* Better **suggested prompts**
* More reliable **iframe behavior**

**Why it matters:** quicker onboarding, smoother embeds on your website/app, and faster iteration when testing agent experiences.

***

### 3) UI & styling enhancements (cleaner chat, better consistency)

We improved consistency across the app, including:

* Chat message styling (avatars, assistant bubbles, theme-based design)
* Cleaner layouts for the message list, Affiliate page, and referral content
* Improved loading states and interaction polish

**Why it matters:** clearer conversations, less visual noise, and a more polished experience when building and demoing workflows.

***

### 4) Performance & code quality upgrades (faster and smoother)

We streamlined several hooks and components (including knowledge base and prompt experiences), refactored loading/copy logic, and removed unused behavior.

**Why it matters:** fewer UI hiccups and a smoother experience as projects grow.

***

### 5) Reliability improvement (faster account lookups)

We added a backend optimization (a secondary index on email) to make user lookups faster and more reliable.

**Why it matters for users:** fewer edge-case delays during auth/account flows and better overall responsiveness—especially as usage scales.

***

## Who this release is for

* Affiliates and partners who share SketricGen using **referral/promo codes**
* Teams embedding SketricGen chat via **iframe/fullscreen widget**
* Builders importing configs/files and wanting **faster setup**
* Anyone who wants a cleaner UI and smoother performance

***

## How to use (quick steps)

### Use your referral or promo code

1. Go to Signup or Login
2. Enter your referral/promo code if applicable
3. Confirm it appears on your profile / affiliate area (if you’re an affiliate)

### Drag-and-drop import (Import Config)

1. Open **Import Config**
2. Drag a file into the upload area
3. Review the imported config and run a quick test

### Embed the widget (iframe/fullscreen)

1. Open your agent’s deploy/share settings
2. Choose the iframe embed option
3. Test suggested prompts + fullscreen layout on your target page

***

## FAQ

**Where do I find my referral code?**\
Your referral/promo code is now surfaced across profile and affiliate-related surfaces for easier access and sharing.

**Do referral codes work during signup and login?**\
Yes—support was expanded to cover login, signup, and profiles.

**Can I drag-and-drop files into Import Config?**\
Yes—drag-and-drop upload is now supported.

**Did the embed widget change?**\
Yes—fullscreen layout, suggested prompts, and iframe behavior were improved for smoother embeds.

**Why mention backend improvements in a release note?**\
Because they reduce friction you feel as a user (faster account flows, fewer edge-case delays), even if the change is internal.

***

## Get Started

* **Try SketricGen:** [https://www.sketricgen.ai/](https://www.sketricgen.ai/)
* **Browse Templates:** [https://www.sketricgen.ai/templates](https://www.sketricgen.ai/templates)
* **Affiliate Program:** [https://www.sketricgen.ai/affiliate-program](https://www.sketricgen.ai/affiliate-program)
* **Docs: Embedding & Widgets:** [/deploy/custom-website](/deploy/custom-website)
