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

# Configure Your Saytics Workspace Settings

> Configure your Saytics workspace: update your project name, manage API keys, set data retention, and configure notification preferences.

Workspace settings let you control how Saytics behaves for your project — from the display name and timezone to API keys, data retention policies, and notification preferences. You can access all of these settings by navigating to **Settings** in your workspace sidebar.

<AccordionGroup>
  <Accordion title="General settings">
    The **General** tab lets you update the basic identity of your workspace.

    * **Workspace name** — the display name shown throughout the Saytics UI.
    * **Slug** — the URL-friendly identifier for your workspace (e.g., `my-company`). Changing the slug will update all workspace URLs.
    * **Timezone** — controls how date ranges are calculated in reports and dashboards. Set this to the timezone your team works in to ensure report periods align with your business day.

    To update any of these: go to **Settings → General**, make your changes, and click **Save**.
  </Accordion>

  <Accordion title="API keys">
    Saytics provides two types of API keys for sending and accessing data.

    | Key type       | Use case                                                                                              |
    | -------------- | ----------------------------------------------------------------------------------------------------- |
    | **Write key**  | Safe to use in client-side code (browsers, mobile apps). Used to send events to Saytics.              |
    | **Secret key** | For server-side use only. Never expose this in client-side code. Used for server-to-server API calls. |

    **Create a new key:**

    1. Go to **Settings → API Keys**.
    2. Click **New Key**.
    3. Give the key a descriptive name (e.g., "Production web app").
    4. Click **Create**. Copy the key immediately — it won't be shown again in full.

    **Revoke a key:**

    1. Go to **Settings → API Keys**.
    2. Click the key you want to revoke.
    3. Click **Revoke** and confirm.

    <Warning>
      Revoking a key immediately stops all requests using that key. Make sure to update your SDK config before revoking.
    </Warning>
  </Accordion>

  <Accordion title="Data retention">
    By default, Saytics retains event data for **12 months** from the time each event is received.

    If you need to remove specific data before the retention period ends, you can do so from the user profile page:

    * To delete a specific event for a user, open their profile and select the event you want to remove.
    * To delete all data for a user, open their profile and choose **Delete all data**.

    These actions are permanent and cannot be undone.
  </Accordion>

  <Accordion title="Notifications">
    Saytics can send email notifications to keep you informed about important changes in your data.

    Available notifications include:

    * **Spike alerts** — notifies you when an event volume spikes significantly above its baseline.
    * **Weekly summaries** — a digest of key metrics sent at the start of each week.

    To enable or disable notifications: go to **Settings → Notifications**, toggle the notifications you want, and click **Save**.
  </Accordion>

  <Accordion title="Export">
    You can export data from any report in Saytics as a CSV file.

    To download a CSV: open any report, click **Download**, then select **CSV**.

    <Info>
      CSV exports include all event properties. Large exports may take a minute to prepare.
    </Info>
  </Accordion>
</AccordionGroup>
