This repository contains a simple script that can be used to import data from your Backstage instance right into Port in a single click.
- Docker
- Port organization
- Backstage instance
- Clone this repository
git clone https://github.com/port-labs/backstage-import.git
- Create a
.env
file with the following values
BACKSTAGE_URL=<your backstage url i.e https://demo.backstage.io>
PORT_CLIENT_ID=<your port client id>
PORT_CLIENT_SECRET=<your port secret>
- Run
./import.sh
You can add the following to the .env
file, but they are optional
BACKSTAGE_BEARER_TOKEN=<your bearer token for backstage authorization if needed>
MAX_CONCURRENCY=<change this to increase the number of concurrent requests default is 1>
UPSERT_BLUEPRINTS=<set to false if you want to skip blueprint upsertion>