> For the complete documentation index, see [llms.txt](https://docs.zata.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.zata.ai/manage/bucket/generating-a-public-access-url-for-an-object.md).

# Generating a Public Access URL for an Object

### Accessing an Object Using Public URL

1. Log in to the **Zata.ai Dashboard**.
2. Go to the **Buckets** section and select your required bucket.

***

<figure><img src="/files/49hKrkqIZrBdT87dLOD5" alt=""><figcaption></figcaption></figure>

\
3\. Click on **Bucket Settings**.\
4\. Open the **Permissions** tab.

<figure><img src="/files/LbYXfEip3MJyaai4wgls" alt=""><figcaption></figcaption></figure>

5\. Enable public access by adding the following bucket policy:

```json
{
  "Version": "2012-10-17",
  "Statement": [{
    "Effect": "Allow",
    "Principal": "*",
    "Action": "s3:GetObject",
    "Resource": [
      "arn:aws:s3:::<Bucketname>/*"
    ]
  }]
}
```

Explanation for documentation:

* **Effect: Allow** → Grants permission.
* **Principal: "\*"** → Allows access to everyone (public access).
* **Action: s3:GetObject** → Allows only read/download access.
* **Resource** → Applies to all objects inside the bucket.

Replace `<Bucketname>` with your actual bucket name.\
Example:

```
arn:aws:s3:::prertest/*
```

<figure><img src="/files/d8po2pFNKauBld1iZ2dI" alt=""><figcaption></figcaption></figure>

\
7\. Open your **S3 Browser** application.\
8\. Connect using your access credentials.

***

9\. Your bucket will now be accessible publicly.\
10\. Navigate inside the bucket and select the required object.

<figure><img src="/files/LbrswMA8XZLIv6URGqQN" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/Zu6P8xRW8zPSRw3NaFO0" alt=""><figcaption></figcaption></figure>

***

<figure><img src="/files/FL1u7SzcX8y3Vm0jk8FM" alt=""><figcaption></figcaption></figure>

\
11\. Right-click on the object.\
12\. Select **Generate Web URL**.

***

<figure><img src="/files/ilhYujY7lHLslmUD8mKT" alt=""><figcaption></figcaption></figure>

\
Click on **Copy** .

\
13\. Paste the copied URL into any web browser and press Enter, The object will open directly in the browser using the public URL.

\
\ <br>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.zata.ai/manage/bucket/generating-a-public-access-url-for-an-object.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
