,
astroCli:
,
}
),
language: 'bash',
code: [
{
label: 'bash',
value: 'bash',
language: 'bash',
code: `npx astro add @sentry/astro`,
},
],
},
],
},
],
configure: (params: Params) => [
{
type: StepType.CONFIGURE,
description: tct(
'Open up your [astroConfig:astro.config.mjs] file and configure the DSN, and any other settings you need:',
{
astroConfig:
,
}
),
configurations: [
{
code: [
{
label: 'JavaScript',
value: 'javascript',
language: 'javascript',
code: getSdkSetupSnippet(params),
},
],
},
{
description: tct(
'Add your Sentry auth token to the [authTokenEnvVar:SENTRY_AUTH_TOKEN] environment variable:',
{
authTokenEnvVar:
,
}
),
language: 'bash',
code: [
{
value: 'bash',
language: 'bash',
label: 'bash',
code: `SENTRY_AUTH_TOKEN=___ORG_AUTH_TOKEN___`,
},
],
},
{
description: tct(
'You can further customize your SDK by [manualSetupLink:manually inializing the SDK].',
{
manualSetupLink: (
{t( "If you're new to Sentry, use the email alert to access your account and complete a product tour." )}
{t( "If you're an existing user and have disabled alerts, you won't receive this email." )}