Getting Started
Get up and running with Vultra in minutes. Follow this guide to install, configure, and make your first API call.
Prerequisites
Command Line
Basic familiarity with command line tools and your preferred programming language.
Node.jsPythoncURL
Installation
1
Install the CLI
npm install -g @vultra/cliThe Vultra CLI provides a command-line interface for scanning and managing your security assessments.
2
Authenticate
vultra auth loginThis will open your browser to authenticate and securely store your API credentials.
3
Run your first scan
vultra scan ./your-projectPoint the scanner at your project directory to start analyzing your code for security vulnerabilities.
Quick Examples
Node.js
const { VultraClient } = require('@vultra/sdk');
const client = new VultraClient({
apiKey: process.env.VULTRA_API_KEY
});
const scan = await client.scan({
path: './my-project',
language: 'javascript'
});
console.log('Vulnerabilities found:', scan.vulnerabilities.length);Python
from vultra import VultraClient
client = VultraClient(api_key="your-api-key")
scan = client.scan(
path="./my-project",
language="python"
)
print(f"Found {len(scan.vulnerabilities)} vulnerabilities")What's Next?
Need Help?
If you run into any issues, our support team is here to help.