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

# Quick Start

> Choose the OTPLESS SDK or API for your project.

export const RedirectTo = ({from, to}) => {
  useEffect(() => {
    const path = window.location.pathname;
    const index = path.lastIndexOf(from);
    const base = index >= 0 ? path.slice(0, index) : "/";
    window.location.replace(base + to);
  }, []);
  return null;
};

<RedirectTo from="get-started/quick-start" to="quick-start" />

Taking you to [Quick Start](/docs/quick-start) in the Frontend SDKs tab…
