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

# Websites

Websites let you use the Ip2Geo SDK and API directly from the browser. When you add a website, a public key is generated and tied to that domain — only requests originating from that domain will be accepted.

<Steps>
  <Step title="Have an Account">
    Create your Ip2Geo account or login to your existing account if you haven't already. You can do that by visiting the <a href="https://app.ip2geo.dev">Ip2Geo Dashboard</a>. Once logged in, select the project you want to add a website to from your dashboard.
  </Step>

  <Step title="Add a Website">
    Navigate to the <a href="https://app.ip2geo.dev/websites">Websites</a> section within your project. Click on "Add Website", enter your domain (e.g. <code>myapp.com</code>), and confirm. A public key (<code>i2g\_pk\_...</code>) will be generated automatically.
  </Step>

  <Step title="Authenticate Your Project">
    Use the public key to authenticate your project when using the SDK or making direct API calls from your frontend.
  </Step>
</Steps>

<Info>
  Public keys are safe to expose in client-side code. They only work from the domain they are registered to, so even if someone copies the key, it won't work from a different origin.
</Info>
