# New save-attachment capability

**URL:** <https://community.developer.atlassian.com/t/new-save-attachment-capability/40382>\
**Category:** Trello Announcements\
**Created:** [July 29, 2020, 1:02pm UTC](https://community.developer.atlassian.com/t/new-save-attachment-capability/40382 "2020-07-29T13:02:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bentley](https://sea1.discourse-cdn.com/atlassiandeveloper/user_avatar/community.developer.atlassian.com/bentley/32/36116_2.png) [@bentley](https://community.developer.atlassian.com/u/bentley)\
**Post date:** [July 29, 2020, 1:02pm UTC](https://community.developer.atlassian.com/t/new-save-attachment-capability/40382/1 "2020-07-29T13:02:00Z")

</div>

# New `save-attachment` Capability

If your Power-Up connects to a file storage platform, you can use this capability to show users that native attachments on Trello cards can be saved to your platform for better collaboration.

For instance, the Dropbox Power-Up allows users to save the attachment to their Dropbox account:

 ![](https://developer.atlassian.com/cloud/trello/power-ups/capabilities/images/save-attachment.png)

## Example Code

```javascript
window.TrelloPowerUp.initialize({
  'save-attachment': function(t, options){
    return {
      callback: function (t, opts) {
        // code to save the attachment to the platform
        // information about the attachment can be found at options or opts
      }
    }
  }
});

```

https://trello.com/c/9NYyLajw.html
