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

# Connect Amazon S3 to P2HS

> Use the Amazon S3 connector with P2HS applications and capabilities.

## Overview

Customer-bound general-purpose S3 buckets; never P2HS-managed storage.

**Category:** Storage\
**Catalog status:** preview

## Supported capabilities and connector actions

| Connector action | Description |
| - | - |
| `amazon_s3.put_object` | Put Object. Customer bucket object operation. Put/get are limited to 256 KiB. |
| `amazon_s3.get_object` | Get Object. Customer bucket object operation. Put/get are limited to 256 KiB. |
| `amazon_s3.delete_object` | Delete Object. Customer bucket object operation. Put/get are limited to 256 KiB. |
| `amazon_s3.head_object` | Head Object. Customer bucket object operation. Put/get are limited to 256 KiB. |
| `amazon_s3.list_objects` | List Objects. Customer bucket object operation. Put/get are limited to 256 KiB. |

## Direction

* **P2HS → Amazon S3:** Yes — supported actions can send data or requests to the provider.
* **Amazon S3 → P2HS:** No inbound trigger is listed in the catalog.
* **Webhooks:** No webhook or inbound event is declared in the catalog.

## Prerequisites

* A Amazon S3 account with permission to create or authorize the connection.
* The credentials or authorization flow required by P2HS (Api key).
* Any provider-side account, workspace, repository, store, or sending-domain permissions required for the selected capability.

## Connect the integration

1. Open the P2HS dashboard.
2. Select the project or workspace where the connector will be used.
3. Open Integrations and choose **Amazon S3**.
4. Select Connect and complete the provider authorization or credential form.
5. Save the connection and run the verification check.
6. Bind the connection to a compatible capability, App Block, or Feature Pack.

## Credentials and configuration

**Authentication:** Api key.

The current catalog requires these credential fields:

* `access_key_id`
* `secret_access_key`
* `session_token`

Configurable fields exposed by the connector:

* `region`
* `bucket_name`
* `path_prefix`
* `storage_map`

P2HS stores connector credentials as managed secrets. Rotate or revoke them from the connection settings; do not commit them to source code or expose them in browser code.

## Generated applications

After **Amazon S3** is connected, compatible capabilities and composed application features can bind to the connection. The generated application should call the approved P2HS capability rather than embedding Amazon S3 credentials.

```text theme={null}
Generated application
        ↓
P2HS capability
        ↓
Amazon S3 connector
        ↓
External provider
```

## Events and webhooks

No inbound event is declared for this connector in the current catalog.

## Troubleshooting

* **Authentication failed:** confirm the credential or authorization flow and the provider account selected.
* **Permission denied:** verify that the provider account can access the configured resource and action.
* **Action unavailable:** confirm that the capability is admitted for the project and supported by this connector.
* **Event not received:** check the connection status, provider event configuration, and the project environment.

## Disconnect or rotate credentials

Update or revoke the connection from the project or workspace Integrations settings. Dependent capabilities may stop working after disconnecting; reconnect and verify the binding before retrying the application flow.

## Related concepts

* [Integration troubleshooting](/content/support/troubleshooting/integrations)
* [Connector model](/content/integrations/connectors)
* [App features](/content/backend/overview)
* [Capabilities reference](/content/composition/capabilities)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.