To confirm before publishing. Three points on this page are not confirmed yet against the Costory app: the connect URL
/integration/new/nebius/billing, whether the form has a Validate step or saves directly, and the default connection name. They are marked “To confirm” below.How the data flows
- Create an Object Storage bucket in your Nebius project.
- Turn on Billing > Export > Periodic export so FOCUS 1.2 CSVs land in that bucket every hour.
- Create a dedicated service account with
storage.vieweron that bucket only, then create an access key. - In Costory, paste the access key, bucket, region, and optional prefix.
- Costory copies
*.csvand*.csv.gzfiles from the prefix and maps them into Explorer.
Prerequisites
- A Costory account.
- Nebius
adminon the tenant or project, to create the bucket, service account, custom group, and periodic export. See Nebius periodic export. - One free periodic export slot on the contract. Nebius allows one active periodic export per contract. Delete an existing export before creating a new one if you need to change the bucket or prefix.
- Manual setup
- Terraform
1
Create an Object Storage bucket
Create the bucket in the same Nebius project and region that will receive the export. Object Storage is available in every public region, for example Replace
eu-north1 or eu-west1.In the Nebius console, open Object Storage > Create bucket. Use the Standard storage class. Optional: a prefix such as billing/export.Or with the AWS CLI configured for Nebius:<region> with the project region, for example eu-north1. Nebius bills you for Object Storage on this bucket.2
Create a read-only service account and access key
Do not add a user or service account to the tenant
Give Costory Confirm the key can list the prefix:
editors group (the AWS CLI quickstart does that). For Costory:- Create a service account used only for Costory reads.
- Create a custom IAM group (not
editors,admins, orviewers). - Add the service account to that group.
- Grant the group
storage.viewer(list and download) on this bucket only with a bucket policy. - Create an access key on that service account.
CLI: service account, group, bucket policy, access key
CLI: service account, group, bucket policy, access key
ACCESS_KEY_AWS_ID and SECRET_ACCESS_KEY, not the Nebius resource ID (access-key-e00...). Copy the secret immediately.To scope the policy to the export prefix instead of the whole bucket, set paths to ["billing/export/*"]. It must match the prefix you set on the export and in Costory.3
Create the periodic FOCUS export
In the Nebius console, open Billing > Export > Periodic export > Create export.
- Start month: as far back as you want Costory to have history. Costory ingests every FOCUS CSV already in the prefix on first sync.
- Project and bucket: the bucket from step 1.
- Prefix (optional): the same prefix the access key is scoped to, for example
billing/export.
4
Open Costory
Go to Integrations, click + Add integration, then choose Nebius under Billing.To confirm: the connect URL is expected to be
/integration/new/nebius/billing.5
Enter connection details and save
Fill Connection name, Access Key ID, Secret Access Key, Bucket, and Region. Prefix is optional. Use the same value as the periodic export, without a leading
/.To confirm: the default connection name (expected Nebius), and whether the form has a Validate step before Save. If it does, Costory lists objects in the prefix with the access key, and an empty prefix still counts as success when the first hourly file has not landed yet.*.csv and *.csv.gz file under the prefix. Check the datasource date range on Integrations. New data then follows the usual data refresh cadence.Field reference
What Costory includes
Costory copies FOCUS 1.2 CSVs from your bucket and maps them into Standard Columns.- Rows: the hourly usage, commitment, adjustment, and credit rows Nebius writes for that contract, with service, SKU, resource, and region as the export provides them.
- Grain: hourly in the files (
ChargePeriodStart,ChargePeriodEnd). Explorer groups by day unless you use hourly granularity. - Provider: shows as
Nebiusin Explorer (not theProviderNamevalueNebius B.V.). - Project: maps to Sub account.
x_ContainerNamebecomes Sub account id andx_ContainerIdbecomes Sub account identifier. Nebius always uses the latest project name, including on older months if a project was renamed.
- Spend by service or SKU: group by Service name or SKU.
- Spend by project: group by Sub account id.
- Spend by region: group by Region.
- Spend next to AWS, GCP, and Azure: filter Provider in Explorer.
- One-time exports (7-day download links).
- Rows with
ChargeCategory = Tax, dropped so Explorer tracks usage, not invoice tax. - Write, overwrite, or delete access to your bucket.
- Nebius Monitoring metrics.
Rotate the access key from Integrations when you need a new credential. Bucket, region, and prefix stay the same. Create the new key on the same service account, paste it in Costory, then delete the old key in Nebius.
Troubleshooting
Related pages
Billing Data
All billing providers and shared setup notes.
Custom FOCUS (BigQuery)
Import FOCUS tables from BigQuery instead of Object Storage.
Oracle Cloud billing
Connect native OCI cost reports with an API signing key.
Explorer
Filter and group Nebius spend with the rest of your stack.
