Turning categories into tensors