# Deeplinks for Stories

This guide shows you how to handle deep links in your application and show a story.

The Storyly Dashboard generates a deep link with the application's predefined custom scheme. The application needs to handle the setup of intent handling and route the related URI to Storyly SDK to open the related story.

# Open Story

The first way to open the related story is to use the URI which is received from the dashboard:

this.storyly.openStory(uri)

The second way to open a story is to use story group id and story id as in the function signature:

this.storyly.openStoryWithId(storyGroupId, storyId)

WARNING

Application can determine from URL's host if it's related with Storyly, host will be storyly for Storyly Dashboard generated deep link URLs.

WARNING

You need to set the URL Scheme for Deep Links field in the Storyly Dashboard -> Settings -> App Settings (opens new window) in order to get the deep links properly from the dashboard.

WARNING

Make sure that the application schema is defined in your application's AndroidManifest.xml file.

WARNING

Make sure that the application schema is defined in your application's Info.plist file.