Build your first AI Studio integration
This guide walks you through integrating AISquare into your application.
By the end, you will:
- Fetch data from an AI Studio
- Display experiences and resources
- Build a basic content feed
What you are building
You will create a simple flow that:
- Selects an AI Studio
- Fetches its experiences
- Displays resources to users
Step 1: Choose a studio
Every AI Studio is identified by a unique URL.
Example:
You will use this value in all requests.
Step 2: Fetch experiences
Use the flattened experiences endpoint to retrieve content.
Endpoint
Example request
What this returns
A list of resources across all experiences.
Each item includes:
- Experience title
- Resource type
- Resource title
- Creator details
- Engagement metrics
Step 3: Render content
Each response item represents a single resource.
Example:
Suggested UI mapping
Step 4: Add filtering and sorting
You can refine results using query parameters.
Example
Common options
Step 5: Personalize the experience
To improve user experience, you can:
Continue where user left off
Returns recently viewed resources.
Show trending content
Returns trending resources with activity insights.
Step 6: Structure your integration
A typical integration looks like:
Your backend should:
- Handle authentication
- Call AISquare APIs
- Return processed data to frontend
Example flow
- User opens app
- Backend fetches experiences
- Frontend displays resources
- User interacts with content
What you’ve built
You now have:
- A working AI Studio content feed
- Structured resource data
- Filtering and sorting
Next steps
Expand your integration:
- Use Creator Profiles to show author details
- Use Collections to group experiences
- Use Metrics and analytics for analytics
- Use Activity APIs for personalization
- Learn about Integration patterns for architecture guidance
- Understand Search, filtering, and pagination for refining results
- Review Authentication setup

