@nedwharton no, federation with Mastodon works specifically by follow relationships.
Anyone that people from your instance follows, are federated with those instances and vice versa.
There's also things called relays which are basically like firehoses of posts from other instances that are connected to the same relay.
Hope this makes sense!👍