---
schema_version: "1"
id: e0ef1e8d145318327f08e6560bb7a8fa741bb51c59c9cebb236d23b2678beb22
title: Workflow for HTTP Action Example (Managed Package)
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/os_workflow_for_http_action_example.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.os_workflow_for_http_action_example.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 4731f10c312b5b64c5ad8843202989f77a2e0dff1ff4a85b1e596bf76f47850c
description: For the managed package runtime, an Integration Procedure retrieves the astronomy picture of the day from NASA using NASA's publicly available REST API.
products:
  - Omnistudio
release: "264"
---
# Workflow for HTTP Action Example (Managed Package)

For the managed package runtime, an Integration Procedure retrieves the astronomy picture of the day from NASA using NASA's publicly available REST API.

![Managed Package app icon](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-omnistudio_for_managed_packages-264-0-0-production-enus/aa2554ec-624a-4ee6-8da4-6435670e6e62/resources-global/_corporate/images/managedpackageicon.png) This information is for Omnistudio for Managed Packages. For Omnistudio on standard runtime, see [Omnistudio Help](https://help.salesforce.com/s/articleView?id=xcloud.os_omnistudio_standard.htm&language=en_US).

To download a data pack of this example for Omnistudio for Managed Packages, click [here](https://volt.my.salesforce.com/sfc/p/o0000000IKm8/a/3m0000005uob/f6IfEMf_6zYDvbmiPoXJAefMO8c7HNk.qxp9Niy7kgo).

Importing Omnistudio for Managed Packages data packs into Omnistudio orgs is supported, and conversion is automatic. But importing Omnistudio data packs into Omnistudio for Managed Packages orgs isn't supported.

To build this example:

1. [Add NASA as a Remote Site (Managed Package)](https://help.salesforce.com/s/articleView?id=xcloud.os_add_nasa_as_a_remote_site.htm&release=264.0.0&type=5 "For the managed package runtime, to be able to invoke NASA REST APIs from your org, you must add NASA as a Remote Site.").
2. [Get an API Key from NASA (Managed Package)](https://help.salesforce.com/s/articleView?id=xcloud.os_get_an_api_key_from_nasa.htm&release=264.0.0&type=5 "For the managed package runtime, you must specify an API key every time you invoke a NASA REST API. You can get this key from NASA.").
3. [Create the Integration Procedure with the HTTP Action (Managed Package)](https://help.salesforce.com/s/articleView?id=xcloud.os_create_the_integration_procedure_with_the_http_action.htm&release=264.0.0&type=5 "For the managed package runtime, after you configure NASA as a Remote Site and get a NASA API key, you can create and run the example Integration Procedure, which retrieves the astronomy picture of the day.").

- **[Add NASA as a Remote Site (Managed Package)](https://help.salesforce.com/s/articleView?id=xcloud.os_add_nasa_as_a_remote_site.htm&release=264.0.0&type=5)**  
    For the managed package runtime, to be able to invoke NASA REST APIs from your org, you must add NASA as a Remote Site.
- **[Get an API Key from NASA (Managed Package)](https://help.salesforce.com/s/articleView?id=xcloud.os_get_an_api_key_from_nasa.htm&release=264.0.0&type=5)**  
    For the managed package runtime, you must specify an API key every time you invoke a NASA REST API. You can get this key from NASA.
- **[Create the Integration Procedure with the HTTP Action (Managed Package)](https://help.salesforce.com/s/articleView?id=xcloud.os_create_the_integration_procedure_with_the_http_action.htm&release=264.0.0&type=5)**  
    For the managed package runtime, after you configure NASA as a Remote Site and get a NASA API key, you can create and run the example Integration Procedure, which retrieves the astronomy picture of the day.