---
editLink: false
lastUpdated: false
---

[@salesforce/b2c-tooling-sdk](../../modules.md) / [clients](../index.md) / createSlasShopperClient

# Function: createSlasShopperClient()

> **createSlasShopperClient**(`config`): [`SlasShopperClient`](../type-aliases/SlasShopperClient.md)

Defined in: [packages/b2c-tooling-sdk/src/clients/slas-shopper.ts:30](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/36eea0d308f1312d1a446ec8813ed30b0bdba62c/packages/b2c-tooling-sdk/src/clients/slas-shopper.ts#L30)

Creates a client for the shopper authorization, login, and token endpoints.
Authentication is supplied per request: shopper credentials for login,
client credentials for private token exchanges, and PKCE for public clients.

## Parameters

### config

[`SlasShopperClientConfig`](../interfaces/SlasShopperClientConfig.md)

## Returns

[`SlasShopperClient`](../type-aliases/SlasShopperClient.md)
