How To Build An Instagram Clone With No Code

Learn how to create your own no code photosharing app, using Bubble's visual web editor.

Lachlan Kirkwood
July 27, 2020 • 11 minute read
How To Build An Instagram Clone With No Code

If a picture says a thousand words, then a workflow is the canvas it’s painted on.

Building a mobile app like Instagram would traditionally require the expertise of a seasoned software engineer or team. As the no-code landscape and visual programming languages have continually evolved, however, it’s easier than ever for makers across the world to build their own powerful software.

Bubble’s toolset is the gateway for the makers of tomorrow — empowering those from any background to start building something great. Our customers are using Bubble to build marketplaces, mobile apps, and even social networks.

Throughout this post, we’ll uncover the process of using Bubble to build your own version of Instagram without writing a single line of code.

Whether you’re looking to build a dedicated photo-sharing platform, or you’re just interested in utilizing some of the core features from Instagram, this guide will share how to start building the underlying workflows for your MVP.

The steps to building Instagram with no code include:

Get Started

Before you start, you’ll need to first register your free Bubble account. Click the button below to get started, then you can follow along as we build our app together.

Register your account on Bubble

We also recommend completing our introductory lessons, which will guide you through the step-by-step process of the most common Bubble features. This will help you get a running start when building your Instagram clone.

As we’ll be building a social network, it’ll also be beneficial to have a basic understanding of how to create user accounts.

We’ve previously covered how to create user accounts in Bubble in our How To Build Quora article.

When kickstarting your project, you can choose to begin by wireframing your product design, or building the necessary fields within your database.

In this case, we’ll start by using Bubble’s visual design tool to shape the user-interface of our mobile app. If you’re replicating a version of Instagram, some of the core pages you’ll want to include are:

  • Settings page: Allowing users to update the details of their account
  • Home page: Displaying a feed of content from a users followers
  • Profile page: Showcasing the users details and a grid of their posts
  • Upload page: Where users can create a new post
  • Comments page: Allowing users to view the comments of a single post
No-code Instagram clone user interface design

A major feature within Bubble is the ability to send data between pages. This allows you to create one generic version of a page, then dynamically display the relevant content from your database when it’s required.

In the case of your Instagram clone, you’ll only need to create one page to host your individual user profiles. We can then write the necessary logic to display only the relevant user on each page when they’re needed (we’ll cover this in more detail soon).

Configuring your database

Once you’ve mapped out the display of your product, you can focus on creating the necessary data fields to power your application. We’ll rely on these properties to connect the workflows behind your product.

Bubble’s pre-built database makes it easy to create different data types with unique fields. When creating a database, we recommend splitting larger items into separate data types to enhance the speed of your application.

For example, we’ll create two separate data types for each post. One data type will include the basic details of a story (including the creator, the number of likes, and the total comments), while the other data type will include larger content files like the photo and caption of the post itself.

By creating these as separate data types, it allows us to only load the necessary information when it’s needed, reducing the amount of content the Bubble editor will need to render.

Within our Instagram mobile app, we’ll need to create the following data types & fields:

Data type: User

Fields:

  • Name
  • Bio
  • Handle
  • Profile-photo
  • Posts - List of posts. Note: Creating a field as a list based on a separate data type allows you to seamlessly integrate all of its relevant data fields
  • Followers - List of users
  • Following - List of users
Instagram user database and data fields built with no code

Data type: Post

Fields:

  • Likes - List of users
  • Comments - List of comments
  • Post-content - Post-content
Instagram post database and data fields built with no code

Data type: Post-content

Fields:

  • Caption
  • Post-image
Instagram post-content database and data fields built with no code

Data type: Comment

Fields:

  • Content
  • Post - Post
Instagram comment database and data fields built with no code

Build your workflows

Now that you’ve structured both the design and database of your application, it’s time to start stitching everything together and making your app functional.

In Bubble, the main way to do this is with workflows. Each workflow happens when an event occurs (e.g. a user clicks on a button), and then runs a series of “actions” in response (e.g. “sign the user up”, “make a change to the database”, etc.)

Update user profile details

When a user creates a profile in your app, we’ll need to build a settings page, allowing them to update their profile details.

By using a combination of input fields, we can easily add this new data into a users profile. After filling in each input field, a user will trigger this workflow by clicking the update button.

Creating a workflow in Bubble’s no-code Instagram clone app

From this action, you can use the workflow editor to make changes to a thing within your database.

Making changes to a database item in an Instagram no-code clone

In this instance, you’ll want to make changes to the current users details, mapping each of the on-page inputs with the corresponding data field.

Using Bubble’s no-code platform to update a users profile details

Once this workflow has run, it will update all of the relevant fields with any new values.

Additionally, you can now display this data on a users profile by using elements that match the data fields provided.

Create a new post

Once a users profile has been configured, we’ll then need to build a feature that allows them to create a new post to our platform.

The workflow that powers user-generated posts will also follow a familiar structure to the profile editing function, only this time, you’ll want to create a new thing within your database.

On our upload page, we’ll add an image uploader element, as well as a multiline input field. Once the share button is clicked, it will trigger a new workflow.

Publishing a photo on a no-code Instagram clone app

You’ll then create a new thing within your database - a new post.

Creating a new Instagram post in Bubble’s no-code database

Throughout this workflow, we’ll first start by creating the post content data type, then we’ll link this to the post itself.

Creating segmented database fields in an Instagram clone app

Next, we’ll add an additional step to this workflow, creating another thing - only this time we’ll create the actual post.

Creating a photo post in Instagram’s no-code clone app

By linking the initial post content to this post, it’s possible to seamlessly integrate this data across your platform.

Each time this workflow is triggered, a new post will be created.

Display dynamic content in a feed

Once users have started generating posts across your platform, it’s time to build a feed that will display these on your homepage as a dynamic list. This can be achieved by utilizing our repeating group element.

Repeating groups integrate with your database to display and update a list of dynamic content.

When using a repeating group, you’ll need to first link the element to a data type within your database. In this instance, you’ll classify the type of content as a post.

You’ll also need to set the data source as a list of all the posts where the creator is in the current users list of following users.

Displaying a feed of content on an Instagram clone app home page

Now you’re ready to start structuring the dynamic content that will be displayed within the grid. Simply map out the top column with the relevant content you’d like to show, then this powerful element will populate the remaining columns based on your existing data.

Displaying photos within an Instagram clone feed

Within a repeating group, it’s also possible to create events based on each individual row.

This feature will become useful when building navigation features across your platform. If a user wishes to comment on a post in their feed, they’ll need to be redirected to a dedicated page which displays a list of all the post comments.

Publishing comments

Creating a workflow to publish and display comments is as simple as our previous workflow used to create posts. To direct a user to a comment page, we’ll build a navigation workflow that’s trigger when a user clicks on the comment icon from our home page feed.

Creating a new workflow in Bubble’s no-code editor

Within this workflow, we’ll need to send a user to a page - our comment page.

Building a page navigation event in Bubble’s no-code editor

When sending a user to a page, you’ll then need to send additional data so the Bubble editor knows which specific comments to display. The data you’ll need to send is that of the current cells post.

Creating a comment in an Instagram clone app build entirely with no code

Over on our comments page, we’ll need to configure the page type to be a post. This will allow the Bubble editor to display unique data based on each post that is sent through our workflow.

Configuring a page type in Bubble’s no-code Instagram mobile app

Next, we’ll add another repeating group to the page, displaying a list of comments.

When configuring this repeating group, the type of content will, of course, be a comment. The data source will then need to be set to index comments from the current pages post.

Displaying a list of comments within Instagram’s no-code clone app

Now, we’ll once again need to map the relevant content for each comment in the top row of our repeating group.

Displaying dynamic content of a comment using Bubble’s no-code editor

Below this list of comments, we’ll also add an additional input field, allowing users to publish new comments.

When the post button next to this input field is clicked, we’ll create a new workflow.

Creating a workflow to post comments on an Instagram post

Within this workflow, we’ll need to create a new thing - a new comment.

Once again, we’ll then map the comment input field with the data field required.

Adding a comments data fields using Bubble’s no-code workflow editor

Liking a post

The next feature we’ll be building is support for users to like posts in their feed. Using the Bubble editor, this process is seamless to create.

Back on our home page, we’ll create a new workflow when the heart icon is clicked.

Creating a workflow in Bubble to like an Instagram post

The workflow for creating a like will be as simple as opting to make changes to the current cells post.

The change we’ll need to make is to the posts like field, adding to it the current user.

Bubble’s no-code editor Instagram likes
Note: If you’d like to display a list of the likes for each post (although Instagram is moving away from this feature), you could easily create a dynamic text element to display the count of users added to a posts likes.
Displaying the number of likes from a post on an Instagram clone built with no-code

Displaying user profiles

Displaying individual profile pages will be an essential feature for our Instagram clone. Profile pages allow you to see a grid of a users posts, as well as follow their accounts.

By creating a separate user profile page, we can start dynamically displaying the necessary data for each user within the community.

Start by configuring this page type to be a user.

Creating a user profile in Instagram’s no-code clone app

Next, add the dynamic elements to the page that you’d like to display for each user.

Displaying the number of followers on a users profile within Instagram’s no-code clone app

Finally, we’ll add a repeating group to this page, allowing us to showcase a list of all the posts created by the current pages user.

Simply set the data type of this repeating group to be posts, then configure the data source to search for posts where the creator is the current page user.

Using Bubble’s repeating group element to create a grid of Instagram posts

Following a user

The final core feature we’ll create for our MVP is the ability to follow another user on the platform.

On the user profile page, we’ll add a follow button. When this button is clicked, we’ll create a new workflow that makes changes to a thing.

Creating a no-code workflow when a Instagram follow button is clicked

The thing we’ll want to change is the current user, adding the current page user to their list of following users.

Using Bubble’s no-code editor to build a follow feature in an Instagram clone app

Next, we’ll also need to update the current page users list of followers by adding the current user.

Instagram clone app user following feature

Additional features

Now that you’re familiar with creating custom data fields and displaying dynamic content, you can start getting creative with the experiences you build within your product. Additionally, you can:

  • Add support for video posts
  • Create nested comments, allowing users to reply to threads
  • Display notifications from a users post engagements
  • Build a messaging function - We’ve previously covered this in more detail our How To Build WhatsApp guide.

Privacy & Security

Now that you have the basics of your app, don't forget to start setting some privacy rules and conditionals to keep your data secure - starting with roles in the 'Privacy' section of your Data tab. You can also check if you're unintentionally exposing any data with an API checker.

Launch

Hiring a developer or dev team to build this application would cost thousands, if not tens-of-thousands of dollars. As you launch and grow in users, our paid plans allow you to host the product on your own custom domain, starting from as low as $25 per month - now that’s just #awesome!

Some templates and plugins may cost more, but you can build all the functionality of Instagram without any additional costs.

Templates

If you didn’t want to build your Instagram clone from scratch, you can purchase one of the templates made by our community members. Some similar templates include:

Start building

Bubble can help you build an Instagram mobile app or any other product you choose! It’s never been easier to build something incredible without having to code.

Ready to join the no-code movement? Register your free account here and get started today.

If you’d like additional help when building your product, our thriving community forum is a great place to source actionable advice and resources. Any maker is also encouraged to ask questions within the community to help streamline their no-code journey.

Start building with a free account

Build your app on Bubble's Free plan. No need to upgrade until you're ready to launch your app.

Join Bubble

LATEST STORIES

blog-thumbnail

Top 2025 Web Design Trends to Know: Parallax Scrolling, Micro-animations, and More

Web designers are moving away from flat, minimalist aesthetics. Learn how they’re leaning into bolder, personality-packed experiences with the use of AI, non-traditional scrolling, bold colors and typography, and more.

Bubble
December 13, 2024 • 10 minute read
blog-thumbnail

Bubble Wrapped 2024: Our Top Moments, Your Best Builds, and More

That’s a (Bubble) wrap on 2024! Check out our collective year in review, including all the highlights of our community’s biggest accomplishments — from new product improvements to no-code topics you couldn’t stop talking about.

Bubble
December 13, 2024 • 5 minute read
blog-thumbnail

27+ SaaS Stats on Market Growth, Usage, Launching a SaaS Startup, and More

SaaS spend and growth is up in 2024, even though growth rates have cooled slightly from previous years. Get the details on why, the state of the SaaS market, and more in this roundup of stats you should know.

Bubble
December 11, 2024 • 11 minute read
blog-thumbnail

Bubble vs. Glide: Comparing the Top No-Code Platforms

Glide is great for a quick, out-of-the-box, no-code solution when you need less customization. However, Bubble offers much stronger customization, community, and versatility. Here’s our comparison of both platforms.

Bubble
December 11, 2024 • 24 minute read

How to Build a To-Do List App in 10 Minutes, With Bubble Co-founder Josh Haas

March 21, 2024 • 8 minute read

How to Build a Marketplace Without Code: Frontend Search and Backend Emails

March 21, 2024 • 21 minute read

How to Build an AI-Generated Recipe App With No Code

March 21, 2024 • 13 minute read

Build the next big thing with Bubble

Start building for free