<style>
.note {
  border: 2px solid #fa6400;
  padding: 8px;
  border-radius: 8px;
  width: 960px;
  margin-bottom: 16px;
}

.aside_note {
  align:left;
  font-size: 14px;
  padding: 16px;
}

.aside_tip {
  border: 2px solid #007bc4;
  padding: 8px;
  border-radius: 8px;
  width: 960px;
}
</style>

###### The following steps will get you up and running quickly with the Affiliate Marketing API.

#### Step 1: Create Your Account

Before you can begin, you will need to hit the Login button in the navigation use your Walmart.com account. If you don't have one, you can create one right there.

#### Step 2: Create Your Application

You will be asked to enter the details about your application so you can link it to your account for future reference.

#### Step 3: Upload your Public Key

As part of Consumer Capability, we need to upload a public key for your application in the portal. This can be done directly in the dashboard after your application is created or you can follow along with these steps here to create it separately: [key-tutorial](/key-tutorial). After the public key is uploaded, consumer id will be created for your application.

#### Step 4: Run a query

Once you have a consumer-id key, to use the Affiliates API you need to make a call with <ioa href="/docs/affiliates/v1/additional-headers">Additional Headers</ioa> using any RestApi client.

```
https://developer.api.walmart.com/api-proxy/service/affil/product/v2/taxonomy
```

#### Step 5: Get the results

If everything goes well, you should see a string of JSON formatted text that begins something like this:

```
{
  "categories": [
    {
        "id": "3456",
        "name": "Apparel",
        "children": [
            {
                "id": "3453_6785",
                "name": "Accessories"
              },
            ]
...
```

Congratulations! You've just used the Affiliate Marketing API to do a lookup on the fastest ship in the galaxy.

<div class="note">
  <img src="/apidocs/affiliates/media/aside_note.svg" alt="aside_note" width="40"/>
  <span class="aside_note">Supported Format : json</span>
</div>

<div class="note">
  <img src="/apidocs/affiliates/media/aside_note.svg" alt="aside_note" width="40"/>
  <span class="aside_note">Read the <ioa href="/docs/affiliates/v1/additional-headers">Additional Headers</ioa> section to get into advanced features.</span>
</div>

<div class="aside_tip">
  <img src="/apidocs/affiliates/media/aside_tip.svg" alt="aside_tip" width="40"/>
  <span class="aside_note">For viewing JSON text in the browser, we recommended using a JSON formatter to make the results more readable <a href="https://github.com/callumlocke/json-formatter" target="_blank"> JSON-formatter </a>
  </span>
</div>
