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

# my.navigateToMiniProgram

> Navigate to another Mini Program.

Open another Mini Program from the current one.

## Parameters

| Property        | Type     | Required | Description                                                                            |
| --------------- | -------- | -------- | -------------------------------------------------------------------------------------- |
| appId           | String   | Yes      | Target Mini Program App ID                                                             |
| path            | String   | No       | Route to open in a DSL-based Mini Program (defaults to homepage)                       |
| appendedUrlPart | String   | No       | Sub-path for H5+ Mini Programs — must be URL encoded                                   |
| extraData       | Object   | No       | Data to pass to target Mini Program, accessible via `App.onLaunch()` or `App.onShow()` |
| success         | Function | No       | Callback on success                                                                    |
| fail            | Function | No       | Callback on failure                                                                    |
| complete        | Function | No       | Callback that always executes                                                          |

## Code Example

```javascript theme={null}
my.navigateToMiniProgram({
  appId: 'target-mini-program-id',
  path: 'pages/detail/detail?id=123',
  extraData: {
    source: 'myApp'
  },
  success: () => {
    console.log('Navigation successful');
  }
});
```

## Related APIs

<CardGroup cols={2}>
  <Card title="my.navigateBackMiniProgram" icon="arrow-left" href="/jsapi/open-capabilities/my.navigateBackMiniProgram">
    Return to previous Mini Program
  </Card>
</CardGroup>
