Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,32 @@ You need to have both the Sentry SDK and the Supabase library installed. For Sup

## Configuration

This is the preferred method for most use cases. and follows Sentry's standard integration pattern.
This is the preferred method for most use cases and follows Sentry's standard integration pattern.

### Imports

<PlatformSection supported={["javascript.deno"]}>

```javascript
// Import Sentry from npm and ensure it appears before other imports
import * as Sentry from 'npm:@sentry/deno';
import { createClient } from 'npm:@supabase/supabase-js';
```

</PlatformSection>

<PlatformSection notSupported={["javascript.deno"]}>

```javascript
import * as Sentry from "___SDK_PACKAGE___";
import { createClient } from '@supabase/supabase-js';
```

</PlatformSection>

### Initialize

```javascript
const supabaseClient = createClient('YOUR_SUPABASE_URL', 'YOUR_SUPABASE_KEY');

Sentry.init({
Expand Down
Loading