Official Guide
Yura Network Complete Setup
From first connection to launching your own private .yura website. This page includes where to get keys, what each key does, and exact commands.
What you get
- Connection token (temporary): generated per connect, expires if unused in 1h.
- Publisher ID + Publisher Key (permanent): your long-term ownership credentials for creating websites.
- Site Key (per-site): returned when a domain is registered.
Permanent keys do not auto-expire. Save them safely.
Step 1 — Connect to Yura tunnel
Run these commands in order (PowerShell as Administrator):
cd $env:USERPROFILE\Downloads
Invoke-WebRequest -Uri "https://yuranetwork.com/downloads/YuraConnect.ps1" -OutFile .\YuraConnect.ps1
Set-ExecutionPolicy -Scope Process Bypass -Force
.\YuraConnect.ps1
Expected result: script ends with Connected to Yura Network.
Step 2 — Get your permanent Publisher keys
After Step 1, run:
notepad $env:TEMP\yura-connect\yura-publisher.json
Copy these values:
publisherId
publisherKey
If file is missing, run Step 1 again with latest script.
Step 3 — Create your Website Kit ZIP
Run these commands (replace placeholders):
$publisherId = 'YOUR_PUBLISHER_ID'
$publisherKey = 'YOUR_PUBLISHER_KEY'
$desiredDomain = 'my-site' # or '' for auto-generated
$body = @{ publisherId=$publisherId; publisherKey=$publisherKey; desiredDomain=$desiredDomain } | ConvertTo-Json
Invoke-WebRequest -Method Post -Uri 'https://yuranetwork.com/api/sitekit/create' -ContentType 'application/json' -Body $body -OutFile .\yura-site-kit.zip
Step 4 — Unzip and prepare your site
Expand-Archive .\yura-site-kit.zip -DestinationPath .\yura-site-kit -Force
cd .\yura-site-kit\yura-site-kit
notepad .\yura-site-config.json
Edit localPort if needed, then put your website files in .\site\.
Step 5 — Launch website on Yura network
Now it is automatic. Script picks a free port and starts local static server if needed:
cd $env:USERPROFILE\Downloads\yura-site-kit\yura-site-kit
Set-ExecutionPolicy -Scope Process Bypass -Force
.\yura-site-up.ps1
Expected output:
Site live: http://your-site.yura
Local server port: 12345
No duplicate domain names are allowed. If domain is taken, choose another or auto-generate.
Step 6 — Stop / Restart
In kit folder:
.\yura-site-stop.ps1
.\yura-site-restart.ps1
Then disconnect tunnel when done:
cd $env:USERPROFILE\Downloads
Set-ExecutionPolicy -Scope Process Bypass -Force
.\YuraDisconnect.ps1
Troubleshooting
- Invalid/expired token: generate fresh connect session.
- No Publisher key shown: download latest YuraConnect.ps1 and rerun as Admin.
- .yura not opening: confirm tunnel connected and local web server running.
- Domain taken: pick different desiredDomain or leave empty for auto-generated.
Security model (current)
- Website files stay on your machine.
- Yura host stores routing metadata (domain, target tunnel IP/port, keys hash).
- No public internet access to .yura; tunnel users only.