---
name: "gotoService"
mode: "api"
versionRequirements:
  - { name: "@ray-js/lock-sdk", version: "1.0.0" }
title: "gotoService - Open the device service center."
summary: "Navigate to device-related services such as cloud storage or AI; optional tab parameter."
---

## gotoService

> [VERSION] @ray-js/lock-sdk >= 1.0.0

### Description

Navigate to host pages such as Value-added Services/Cloud Storage.

### Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `tab` | `"cloudStorage" \| "AI"` | No | Target service tab |

### Return Value

Type: `Promise<unknown>`

Promise resolved by the host

### Examples

#### Example

```ts
import { gotoService } from '@ray-js/lock-sdk';
gotoService({ tab: 'settings' });
```
