Quick Start
Creating Your First Widget
This guide will walk you through the process of creating your first widget for the Giggle IPOS platform. By following these steps, you'll be able to set up a basic widget that can be embedded within IP portals.
Prerequisites
A registered developer account on Giggle IPOS
A hosted web application that will serve as your widget
Basic understanding of iframe integration and API communication
Step 1: Access Widget Management
Log in to your Giggle IPOS developer account
Navigate to the Developer Center
Select "Widget" from the main menu

Step 2: Initiate Widget Creation
In the Widget Management dashboard, locate and click the "Create Widget" button in the top-right corner

Step 3: Complete the Widget Creation Form
Fill out the required information in the widget creation form:
Basic Information
Widget Name (required)
Enter a clear, descriptive name for your widget
Example: "Community Forum" or "NFT Gallery"
This name will be displayed in the Widget Store
Widget Type (required)
Select the category that best describes your widget's functionality:
Account: User profile and account management features
Finance: Financial tools, trading interfaces, portfolio trackers
AI: Artificial intelligence features, generative tools
NFTs: Non-fungible token related features
Other: Any widget that doesn't fit the above categories
Summary (required)
Write a brief description (max 150 characters) explaining what your widget does
This summary will be displayed in widget listings and search results
Focus on key benefits and features
Description (optional)
Provide a more detailed explanation of your widget's functionality
If left empty, the summary will be used instead
Include use cases and detailed feature descriptions
Technical Configuration
Widget URL (required)
Enter the public URL where your widget is hosted
Format: https://example.com/widgets/my-widget
This URL will be loaded in an iframe within the IP portal
Must be publicly accessible with proper CORS configuration
Management URL (required)
Enter the URL where IP holders can configure your widget
Format: https://example.com/widgets/my-widget/manage
This interface will only be accessible to IP holders who subscribe to your widget
Used for widget-specific settings and customization
GitHub URL (optional)
Link to your widget's code repository
Recommended for transparency and building trust
Format: https://github.com/username/widget-repository
Access Settings
Private Widget (optional)
Toggle to make your widget private during development
Private widgets are only visible to specified test users
Useful for testing before public release
Test Users (optional)
Add email addresses of users who can access your private widget
These users can test the widget before public release
Format: developer1

Fill form
Step 4: Submit Your Widget
Review all information to ensure accuracy
Click the "Create Widget" button at the bottom of the form
Wait for the confirmation message indicating successful creation
Step 5: Find and Manage Your Widget
Once created, your widget will appear in your Widget Management dashboard
If set as private, only you and your test users can see it
If public, it will be visible in the Widget Store for all IP holders


Step 6: Implement Widget Communication
After creating your widget, you'll need to implement the necessary communication between your widget and the Giggle IPOS platform:
In your widget's frontend code, add an event listener for the PostMessage API:
In your management interface, implement similar code to receive the token when IP holders configure your widget.
Step 7: Test Your Widget
Navigate to your personal IP portal
Add your widget to test the integration
Verify that authentication works correctly
Test all widget functionality



Next Steps
Congratulations! You've successfully created your first Giggle IPOS widget. Here's what you can do next:
Enhance your widget with additional features
Apply for featured status in the Widget Store
Create documentation for IP holders
Collect feedback and iterate on your design
For detailed API documentation and advanced widget development techniques, please refer to our comprehensive Developer Documentation.
Last updated