> ## Documentation Index
> Fetch the complete documentation index at: https://docs.buckspay.xyz/llms.txt
> Use this file to discover all available pages before exploring further.

# Function: buildInstallArgs()

# Function: buildInstallArgs()

> **buildInstallArgs**(`input`): `ScVal`\[]

Defined in: [packages/accounts/src/policy/install.ts:22](https://github.com/bucks-pay/buckspay-sdk/blob/43ad599d2776cb5d657043c36847b3318093ccf4/packages/accounts/src/policy/install.ts#L22)

Args for the policy account's `add_signer(session_key: BytesN<32>, policy: Policy)` install call:
`[BytesN(sessionKey), <compiled Policy struct>]`. `sessionKey` is the session signer's ed25519
G-address; `expiresAt` is the session's on-chain expiry (ledger timestamp, seconds). Refuses an
unbounded session (no spend limit / empty allowlist) via `compilePolicies`.

## Parameters

### input

#### expiresAt

`number` | `bigint`

#### policies

[`SessionPolicy`](/sdk-reference/accounts/src/policy/type-aliases/SessionPolicy)\[]

#### sessionKey

`string`

## Returns

`ScVal`\[]
