---
schema_version: "1"
id: d29ad4e6fb9a4243112498b2f714b13d0c7fe8cf3dd009f6cae6d7a15baac35e
title: Create the Integration Procedure with the HTTP Action (Managed Package)
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/os_create_the_integration_procedure_with_the_http_action.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.os_create_the_integration_procedure_with_the_http_action.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 8ad7be4c6569ee18f745d720a28c20371b1bf8d51e9feaf2f7392622cd71a09b
description: 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.
products:
  - Omnistudio
release: "264"
---
# Create the Integration Procedure with the HTTP Action (Managed Package)

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.

![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).

1. From the Vlocity Integration Procedures tab, click **New**.
2. Provide an **Integration Procedure Name**, a **Type**, and a **SubType**, and click **Save**.
3. Drag an HTTP Action component into the Structure panel and give it the following settings:
    
    1. Set its **HTTP Path** to `https://api.nasa.gov/planetary/apod`.
    2. Set its **HTTP Method** to `GET`.
    3. Expand the REST OPTIONS section and click **Add Param**.
    4. Under Params, set the **Key** to `api_key` and the **Value** to `%ApiKey%`.
4. Drag a Response Action component into the Structure panel below the HTTP Action and give it the following settings:
    
    1. Set its **Send JSON Path** to `HTTPAction1`.
    2. Set its **Send JSON Node** to `PictureInfo`.
5. Go to the Preview tab and click **Add New Key/Value Pair**.
6. Set the Key to `ApiKey` and the Value to your NASA API key, for example `YbbMNWeWX2BqxoPKXEiWWcKMgNlUHhHXgqWG5XBt`.
7. Click **Execute**. The output should look like this:
    
    ```
    {
      "PictureInfo": {
        "url": "https://apod.nasa.gov/apod/image/2006/Eclipse-under-bamboos1024c.jpg",
        "title": "Eclipse under the Bamboo",
        "service_version": "v1",
        "media_type": "image",
        "hdurl": "https://apod.nasa.gov/apod/image/2006/Eclipse-under-bamboos.jpg",
        "explanation": "Want to watch a solar eclipse safely? Try looking down instead of up, though you might discover you have a plethora of images to choose from. For example, during the June 21st solar eclipse this confusing display appeared under a shady bamboo grove in Pune, India. Small gaps between close knit leaves on the tall plants effectively created a network of randomly placed pinholes. Each one projected a separate image of the eclipsed Sun. The snapshot was taken close to the time of maximum eclipse in Pune when the Moon covered about 60 percent of the Sun's diameter. But an annular eclipse, the Moon in silhouette completely surrounded by a bright solar disk at maximum, could be seen along a narrow path where the Moon's dark shadow crossed central Africa, south Asia, and Ch",
        "date": "2020-06-26",
        "copyright": "Somak Raychaudhury"
      }
    }
    ```
8. (Optional) Paste the `url` or `hdurl` value into your browser and view the picture.