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

# Shared Files

> Use Supabase to generate public file URLs and integrate them into your Readdy project

You may want to share files in your Readdy project through public links.\
Let’s use Supabase to generate URLs for your files and attach them in Readdy.

## Using Supabase to generate a file link

<Steps>
  <Step title="Log in to Supabase and create a project">
    Log in to [Supabase](https://supabase.com) and create a new project.

    **1. Sign in to Supabase dashboard**

    <Frame>
      <img src="https://mintcdn.com/readdy/VnlR53FYyZzKKyTQ/images/Supabase-signin.png?fit=max&auto=format&n=VnlR53FYyZzKKyTQ&q=85&s=8e8d3f35b2167ea024f49002dd52b587" width="1280" height="709" data-path="images/Supabase-signin.png" />
    </Frame>

    **2. Create a new project**

    <Frame>
      <img src="https://mintcdn.com/readdy/VnlR53FYyZzKKyTQ/images/Supabase-Newproject.png?fit=max&auto=format&n=VnlR53FYyZzKKyTQ&q=85&s=a10647419b93f877df1489e8469148bc" width="3456" height="1916" data-path="images/Supabase-Newproject.png" />
    </Frame>
  </Step>

  <Step title="Create a new storage bucket">
    **1. Navigate to Storage section**

    <Frame>
      <img src="https://mintcdn.com/readdy/VnlR53FYyZzKKyTQ/images/Supabase-Storage.png?fit=max&auto=format&n=VnlR53FYyZzKKyTQ&q=85&s=b0a1885f419a45f4912e5d9fc785eaf5" width="3454" height="1910" data-path="images/Supabase-Storage.png" />
    </Frame>

    **2. Click New bucket button**

    <Frame>
      <img src="https://mintcdn.com/readdy/VnlR53FYyZzKKyTQ/images/Supabase-bucket.png?fit=max&auto=format&n=VnlR53FYyZzKKyTQ&q=85&s=3e44041c28fdc173f918752bcca80303" width="3456" height="1916" data-path="images/Supabase-bucket.png" />
    </Frame>

    **3. Configure bucket settings**

    <Frame>
      <img src="https://mintcdn.com/readdy/VnlR53FYyZzKKyTQ/images/Supabase-Namebucket.png?fit=max&auto=format&n=VnlR53FYyZzKKyTQ&q=85&s=0da0d2007b0df107fbcace35a301229c" width="3456" height="1916" data-path="images/Supabase-Namebucket.png" />
    </Frame>
  </Step>

  <Step title="Upload files">
    **1. Upload files to the bucket**

    <Frame>
      <img src="https://mintcdn.com/readdy/VnlR53FYyZzKKyTQ/images/Upload-files.png?fit=max&auto=format&n=VnlR53FYyZzKKyTQ&q=85&s=6db4c6be6b8064f9a51b824b172d313a" width="3456" height="1916" data-path="images/Upload-files.png" />
    </Frame>

    **2. Get the public URL**

    <Frame>
      <img src="https://mintcdn.com/readdy/VnlR53FYyZzKKyTQ/images/Get-url.png?fit=max&auto=format&n=VnlR53FYyZzKKyTQ&q=85&s=af22c4ee7d1ed2da13b46e1200e9646b" width="3456" height="1916" data-path="images/Get-url.png" />
    </Frame>
  </Step>

  <Step title="Add the link in Readdy">
    * Go back to Readdy.
    * In the text box, select the **Selector** and choose a button.

    **1. Add link to button**

    <Frame>
      <img src="https://mintcdn.com/readdy/VnlR53FYyZzKKyTQ/images/Add-link.png?fit=max&auto=format&n=VnlR53FYyZzKKyTQ&q=85&s=85145fffb093e4033e2b951d56ed9f7e" width="3456" height="1916" data-path="images/Add-link.png" />
    </Frame>

    **2. Save the link configuration**

    <Frame>
      <img src="https://mintcdn.com/readdy/VnlR53FYyZzKKyTQ/images/Addlink-Save.png?fit=max&auto=format&n=VnlR53FYyZzKKyTQ&q=85&s=e5a88a50efcb52ce92f45b4fbf2bfff1" width="3456" height="1916" data-path="images/Addlink-Save.png" />
    </Frame>
  </Step>

  <Step title="Final result">
    Once completed:

    * Your file now has a public URL generated by Supabase.
    * In Readdy, the button is bound to the file link, so users can click and open it directly.
  </Step>
</Steps>
