The First Minister announced fresh funding to expand legal support services for European citizens in Scotland.
Presiding officer Ken Macintosh said the flag will come down at 11pm on January 31, when the UK leaves the EU.
The European Union (Withdrawal Agreement) Bill was passed by 330 votes to 231.
The Scottish Crannog Centre said faster broadband has made a ‘huge difference’.
MSPs voted to reject the UK Bill by votes to 92 votes to 29.
The First Minister said there is 'growing cross-party recognition' the question of a second vote should not be decided at Westminster.